Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>setdate() - set the computers internal date</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     setdate() - set the computers internal date
  Usage:    <logical> = setdate(<date>)
  Params:   string <date> - a date string in the format "MM/DD/YY"
            this parameter is a string, not a date type variable.
  Returns:  logical .T. if date set successfully, .F. if error.

 ---------------------------------- Example ---------------------------------

                 mdate = "  /  /  "
                 @9,0 say "Enter date: " get mdate
                 read

                 if (! setdate(mdate))
                      ? "could not set date...."
                 endif


See Also: settime() checkdate() isleap() num2month()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson