Results 1 to 2 of 2

Thread: DateTime code

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    DateTime code

    Can someone tell me what exactly this is doing ?

    Code:
    Dim gmtOffset As Integer = DateTime.Compare(DateTime.Now, DateTime.UtcNow)
    This datetime is used for logging the times errors occur on our site.

    Parksie

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Its comparing the local time with the universal time... (greenwich)

    IF the local time is less than, you are behind greenwich timezone, etc..

Posting Permissions

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



Click Here to Expand Forum to Full Width