FormatDate


The FormatDate function creates a correctly formatted date string from year, month, and day components.

Syntax

sYmd = FormatDate( nYear, nMonth, nDay )

where

    nYear, nMonth, nDay are the components of the date value (e.g., 2007, 4, and 23).

    sYmd is the formatted date string (e.g., "2007-04-23").

  

none

Related Topics

ParseYmd

FormatYmdStr

CalcJD

DayOfWeek