Name
ParseDate -- break down Hollywood date into components (V7.1)
Synopsis
t = ParseDate(d$)
Function
This function parses the Hollywood date passed in d$ and breaks it down into its individual components. Those components are then returned in a table. The date string passed to this function must be in Hollywood's standard date format, i.e. dd-mmm-yyyy hh:mm:ss. See CompareStr for details.

ParseDate() will return a table with the following fields initialized:

MDay:
Day of the month (1-31).

Mon:
Month of the year (1-12).

Year:
Number of the year (e.g. 2018).

Hour:
Hours since midnight (0-23).

Min:
Minutes after the hour (0-59).

Sec:
Seconds after the minute (0-59).

WDay:
Days since Sunday (0-6).

YDay:
Days since January 1 (0-365).

To compose a Hollywood date from its individual components, use the MakeDate() function. See MakeDate for details.

Inputs
d$
Hollywood date to decompose
Results
t
table containing individual date components (see above)

Show TOC