year1st(
DATE
)

The year1st( function computes the first day of a year.


Parameters

This function has one parameter:

date – is a number representing the date.


Description

This function calculates the first day of the year. For example, if the date passed to this function is August 12, 1995, this function will return the date January 1, 1995. The date is returned as a number.

datepattern(year1st(date("8/12/95")),"Month ddnth, YYYY") ☞ January 1st, 1995

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0