CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Sep 1999
    Location
    malaysia
    Posts
    191

    CTime construction - confusion

    Hi All,

    I have this code constructing a CTime object

    Code:
    CTime tm(2004,2,14,0,0,0,0);
    When I set my computer timezone to be GMT, I saw the value of tm during debug to be 1076716800.

    But when I set my computer timezone to +8.00 GMT, running the same code gives me the value 1076688000.

    Can someone please explain why the difference in value??

    Regards

    Mustafa
    Last edited by Mustafa; February 14th, 2004 at 12:34 AM.
    ______________________________
    To err is human, it's the computer that causes blunders !!!

    DO: Dazzle me with your intelligence
    DON'T : Confuse me with your bullshit

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

Featured