xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

SetNewDate()

Changes the system date from Numeric values.

Syntax

SetNewDate( <nYear>, <nMonth>, <nDay> ) --> lSuccess

Arguments

<nYear>
A numeric value specifying the year of the new system date.
<nMonth>
A numeric value specifying the month of the new system date.
<nDay>
A numeric value specifying the day of the new system date.

Return

The function returns .T. (true) when the system date is successfully changed, otherwise .F. (false) is returned.

Info

See also:Date(), SetDate(), SetTime()
Category: CT:DateTime , Date and time , xHarbour extensions
Source:ct\settime.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe