| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Returns the quarter a date belongs to.
Quarter( [<dDate>] ) --> nQuarter
The function returns a numeric value between 1 and 4 indicating the quarter <dDate> belongs to, or zero on error.
| See also: | Day(), Month(), Year() |
| Category: | CT:DateTime , Date and time |
| Source: | ct\dattime2.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com