ParseJD

ParseYmd


The ParseYmd function splits a date string in year, month, day ("YMD") form into its components of year, month, and day. This is the same as the older function DateToYmd.

Syntax

nYear, nMonth, nDay = ParseYmd( sYmd )

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

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

Remarks

To split a Julian Date to its 6 date and time components, use JDtoDateTime.

Related Topics

FormatYmdStr, JDtoDateTime, DayOfWeek


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