xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DoY()

Returns the day number of a Date value in a year.

Syntax

DoY( [<dDate>] ) --> nDayOfYear

Arguments

<dDate>
An expression returning a Date value. It defaults to Date().

Return

The function returns a numeric value. It is the number of the day in a year that represents <dDate>.

Info

See also:Day(), DaysToMonth()
Category: CT:DateTime , Date and time
Source:ct\dattime2.c
LIB:xhb.lib
DLL:xhbdll.dll


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