×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Question How to get the synchronize Calendar data

    Hi all,
    I have a small question...
    In the project, I want to change the birthday.You can select the year,month,or day.but, I don't know how to get the synchronize year,month,or days data?
    please help me, thank you.
    Joyce

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to get the synchronize Calendar data

    sorry but what does "synchronize year,month,or days data" mean ?

  3. #3
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: How to get the synchronize Calendar data

    If we get the Current month,how to get the month including days' number.
    Do you understand? And how to get the current Date?

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: How to get the synchronize Calendar data

    Quote Originally Posted by Joyce An View Post
    If we get the Current month,how to get the month including days' number.
    Do you understand? And how to get the current Date?
    Code:
    TTime date;
    date.HomeTime(); // returns the current time
    TDateTime dateTime = date.DateTime();
    TInt year = dateTime.Year();
    TMonth month = dateTime.Month();
    TInt day = dateTime.Day();
    TInt hour = dateTime.Hour();
    TInt minute = dateTime.Minute();
    TInt second = dateTime.Second();
    TInt microSecond = dateTime.MicroSecond();
    It represents a date and time as a number of microseconds since midnight, January 1st, 0 AD nominal Gregorian. You can also try the TCalTime,

    Cheers,
    Mayank

Similar Threads

  1. SIP calls over Packet data
    By thefamilyman in forum VoIP
    Replies: 8
    Last Post: 2010-04-27, 06:12
  2. Replies: 1
    Last Post: 2009-04-20, 17:54
  3. Sending Huge data through GPRS (HTTP Post)
    By mockba in forum Symbian
    Replies: 4
    Last Post: 2008-05-19, 16:33
  4. data will be lost when copying mem?
    By bluerose in forum Symbian
    Replies: 0
    Last Post: 2003-12-03, 13:06
  5. Replies: 0
    Last Post: 2003-05-26, 14:00

Posting Permissions

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