Results 1 to 3 of 3

Thread: GMT time format

  1. #1
    Join Date
    Feb 2003
    Posts
    29

    Unanswered: GMT time format

    I have following vb code how can I conver to to GMT format ?

    Format(TimeEnter, "yyyy-mm-dd/hh:mm:ss")

    I need TimeEnter to be converted in GMT format

    Please help

  2. #2
    Join Date
    Jan 2004
    Location
    Aberdeen, Scotland
    Posts
    1,067
    i presume what you mean is to put the time into GMT
    since i dont know where you are all i can suggest is using the dateadd function

  3. #3
    Join Date
    May 2004
    Posts
    97
    I do not know of a function or API to do this, but there might be... otherwise, a look into the registry will reveal the Time Zone of the local computer, then with that information you can write a function to assign the GMT time to a variable.

Posting Permissions

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