Name
MakeDate -- make Hollywood date from components (V7.1)
Synopsis
d$ = MakeDate(t)
Function
This function composes a Hollywood date from a set of individual date components which have to be passed in the table t. The date that is returned by this function will be in Hollywood's standard date format, i.e. dd-mmm-yyyy hh:mm:ss. See CompareStr for details.

You have to pass a table to MakeDate() that has 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).

To break down a Hollywood date into its individual components, use the ParseDate() function. See ParseDate for details.

Inputs
t
table describing the date to compose (see above)
Results
d$
date string in Hollywood's standard date format

Show TOC