FormatDate


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

Syntax

sYmd = FormatDate( nYear, nMonth, nDay )

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

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

Remarks

none

Related Topics

ParseYmd

FormatYmdStr

CalcJD

DayOfWeek


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.