Hi
I am working in datetime in django,this is the code in my forms.py

from_time = forms.DateTimeField(label="FromTime",
                                        required=True,
                                        input_formats=["%Y-%m-%d %H:%M:%S"],

widget=DateTimeInput(format="%Y-%m-%d %H:%M:%S"))
all the values of fields are stored in a dictionary variable say dd,when i
try to write the value of the dictionary in a file it is in the form

from_time   datetime.datetime(yyyy mm dd hh mm tzinfo=<UTC>)

can anyone suggest me how can i just get the value 2014 6 21 12 0 which is
yyyy mm dd hh mm i need to take this value and set it as cron task

Thanks and regards
Rini

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFoY06tg%3D09WfQQ1-QJDR%3DYCyUW3pmQzUHWFnMS5b4iARXt4cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to