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

Thread: set system date

  1. #1
    Join Date
    Jul 2001
    Posts
    430

    set system date

    Please tell me how to set the system date in pure c++(not vc++). Thanks

  2. #2
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,020
    This is a vendor dependent thing: there is no standard library function for setting the system date.

    I don't know about the Windows system but you need root privileges to set it on Unix.
    Succinct is verbose for terse

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