Passing time, date and timezone

Discussion in 'ASP .Net Web Services' started by dotnetwebservices888@googlemail.com, Jan 14, 2008.

  1. Guest

    Hello,

    I'm currently having problems with passing date, time and timezone
    data to my web service. Let me provide further details. The service
    will accepts clocking data and then inserts this into a connected
    database, for attendance monitoring. Client apps may not be accessing
    from the same time zone and the server, so I wanted to have this
    detail stored accessable from within the web service.

    The format of the date, time and time zone must be in is the W3C
    format of "yyyy-mm-ddThh:mm:sszzzz" where zzzz holds the time zone
    information. however, if I parse a string to dateTime, the time zone
    part of the time is automatically used to normalise the time (ie. add
    or subtract time zone to/from the actual time). I guess its .NET being
    too clever for its own good really!

    Is there any way that i can store the reference of the ACTUAL time,
    and then the relative time zone also THEN also retrieve them once it
    has been passed to the service?

    Thanks in advance

    Jonny
     
    , Jan 14, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,278
    Michael Borgwardt
    May 30, 2004
  2. asaf
    Replies:
    3
    Views:
    6,159
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Sep 11, 2006
  3. axrock
    Replies:
    8
    Views:
    960
    Roedy Green
    Mar 25, 2009
  4. David Joseph Bonnici
    Replies:
    1
    Views:
    213
    Gunnar Hjalmarsson
    May 15, 2005
  5. Ami
    Replies:
    5
    Views:
    281
Loading...

Share This Page