I dont know Java but in C# format, you can use it like :

string startTime = DateTime.Parse(oWhen.getStartTime());

and similarly for endTime.

This will convert the startTime and endTimes to you machine's Local time.

Cheers
Kulvinder Singh


----- Original Message ----
From: Nitin <[EMAIL PROTECTED]>
To: Google Calendar Data API <[email protected]>
Sent: Thursday, September 27, 2007 9:48:05 AM
Subject: How to get Extract Date and time values for the event from the When


Hi,
    I want to get the exact date and exact time fot the event. The
code is as follows:
    When oWhen = (When) oIterator.next();
    System.out.println("Start Time: " + oWhen.getStartTime());
    System.out.println("End Time: " + oWhen.getEndTime());

    The output is as follows:
    Start Time: 2007-09-27T05:30:00.000+05:30
    End Time: 2007-09-27T06:30:00.000+05:30

   Can i get the exact date and exact start time and end time for the
event. Any kind of help is most welcomed. Eagerly waiting for your
reply.

Thanks & Regards,
Nitin M. Ware




       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to