functions

fhNewDatePt

Description

Creates a Date Point Object.

Syntax

dpDatePoint = fhNewDatePt([iYear[,iMonth [, iDay [, bYearDD [, bBC [, strCalendar]]]]]])

Parameters

iYear
integer (optional): year
iMonth
integer (optional): month, eg 1=January 6=June
iDay
integer (optional): day of month
bYearDD
boolean (optional): true if Year is to be treated as a "Double Date" eg 1721 to be shown as 1721/22
bBC
boolean (optional): true if year is BC (Before Christ)
strCalendar
string (optional): Calendar Type
GREGORIAN (default)
JULIAN
HEBREW
FRENCH (French Revolutionary Calendar)

Note: bYearDD and bBC are only applicable when the GREGORIAN calendar is in use.

Return Value

dpDatePoint
Date Point Object.

Remarks

Example
-- Julian Date 11th March 1611
dpMyDatePoint = fhNewDatePt(1611,3,11,false,false,'JULIAN') 
-- 11th March 1911
dpMyDatePoint2 = fhNewDatePt(1911,3,11)