×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Oct 2006
    Posts
    51

    timestamp in Symbian

    Hi....

    Does something exist to use the timestamp in Symbian, in order to indicate a date/time information as a long number that is possible in other programming languages such as PHP, Java, etc. and to convert this information to/from a date class ?

    In particular, I need record the time information of the reception of data messages from the net and I'd like getting a long representing the date/time of the instant and insert that into my data structure.

    Can anyone suggest me something ?

    Thanks....

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: timestamp in Symbian

    Quote Originally Posted by keanu77
    Hi....
    ...
    Can anyone suggest me something ?

    Thanks....
    Sure, read the SDK documentation and look for TTime.

  3. #3
    Regular Contributor
    Join Date
    Oct 2006
    Posts
    51

    Re: timestamp in Symbian

    Quote Originally Posted by ltomuta
    Sure, read the SDK documentation and look for TTime.
    Thanks, it's what I was searching....

    Another suggestion : how can I get the present time information, a function such as Now() of other languages, for example ?

    Thanks ....

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: timestamp in Symbian

    Sure, read the SDK documentation and look for TTime. Do you need HomeTime() or UniversalTime() ?

  5. #5
    Registered User
    Join Date
    Oct 2012
    Posts
    1

    Re: timestamp in Symbian

    It seems, that TTime represents time from 0 year, but not from 1970 year like Unix timestamp. How to convert? Substrate some seconds?
    Last edited by ShadowBackup; 2012-11-12 at 16:43. Reason: mistake

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: timestamp in Symbian


Similar Threads

  1. C++ exceptions VS Symbian Leaves :)
    By metalim in forum Symbian
    Replies: 18
    Last Post: 2009-04-15, 11:54
  2. Oracle Database Lite 10g Available for Symbian OS Phones
    By chirag_cel in forum News and Announcements
    Replies: 2
    Last Post: 2006-12-11, 07:00
  3. Please release installable D_EXC for Symbian 9!
    By perrett in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2006-05-10, 09:51
  4. Replies: 2
    Last Post: 2003-08-19, 16:39
  5. setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking
    By servigo in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-07-31, 07:47

Posting Permissions

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