You Are Here:

Community: Developer Discussion Boards

#1 Old Date object - 2008-10-30, 23:44

Join Date: Mar 2003
Posts: 7
apffal
Offline
Registered User
In Python for S60, is it possible convert a date object, from a query or a form, to a string ?
If possible, how to do it ?
Thanks
Reply With Quote

#2 Old Re: Date object - 2008-10-31, 05:33

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Duplicate thread: http://discussion.forum.nokia.com/fo...d.php?t=148870
Reply With Quote

#3 Old Re: Date object - 2008-10-31, 05:42

Join Date: Sep 2007
Posts: 395
Location: Bhavnagar
Send a message via Yahoo to james1980
james1980's Avatar
james1980
Offline
Forum Nokia Champion
Hi,
you can use the following code.
Code:
import time,appuifw
a=appuifw.query(u"your date",'date')
j=time.ctime(a)
print j


Jajal Mehul
Reply With Quote

#4 Old Re: Date object - 2008-10-31, 05:50

Join Date: Sep 2007
Posts: 395
Location: Bhavnagar
Send a message via Yahoo to james1980
james1980's Avatar
james1980
Offline
Forum Nokia Champion
Hello,
i am sorry for replying here, because this is the duplicate thread and bogdan and rafael had already given the solution.


Jajal Mehul
Reply With Quote

#5 Old Re: Date object - 2008-10-31, 16:06

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
Quote:
Originally Posted by james1980 View Post
Hello,
i am sorry for replying here, because this is the duplicate thread and bogdan and rafael had already given the solution.
Hi james1980,

Don't worry

Bogdan gave a solution on the other thread but is good to also have another solution, anyway


BR,

Rafael.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting a new Active Object from a existing Active Object A.Vogel General Symbian C++ 4 2007-11-26 14:41
How 2 chk TTime object contains date & time in correct format sameer.chaudhari General Symbian C++ 6 2007-09-28 06:36
Page builder giogiogio Python 2 2007-08-26 19:08
preverify error. PLZ HELP michaelhann89 Mobile Java Tools & SDKs 14 2007-03-22 23:51
convert Date object to string artemg Mobile Java General 4 2006-03-03 05:56

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ