Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:The Date object does not return the current time on S60 1st Edition (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
S60 1st Edition
Created: User:Technical writer 1 (20 Jan 2005)
Last edited: hamishwillee (24 Oct 2013)


The Date object should return current time but it returns something like "java.util.Date@6b2251e9" instead.


The Date object should contain the current time but it contains something like "java.util.Date@6b2251e9" instead. Normally printing out the Date object should return something like "Fri Jan 14 16:04:22 GMT+02:00 2005".


You can ask a specific value from the Calendar object, for example like this: calendar.get(Calendar.HOUR_OF_DAY). This would return an integer showing the hour value of current time.

This is fixed in the newer S60 devices.

This page was last modified on 24 October 2013, at 05:33.
82 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.