[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SetDate( nDay, nMonth, nYear )-> <lSuccess>
------------------------------------------------------------------------------


 PARAMETER:

  <nDay>      The new day to set       

  <nMonth>    The new month to set

  <nYear>     The year to set


 RETURNS:

  <lSuccess> is TRUE if the date is valid and could be settled as the new
  system date.


 DESCRIPTION:

  SetDate() simply sets the system date. 


 EXAMPLE:


    +--------------------------------------------------------------+
    |  /* Set the new date */                                      |
    |  IF ! SetDate( 07, 03, 1996 )                                |
    |     MsgAlert( "Sorry, I could not change the date" )         |
    |  ENDIF                                                       |
    +--------------------------------------------------------------+

   
 SOURCE:

  SOURCE\FUNCTION\SETDATE.C



See Also: SysTime
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson