Greg%

Takes one parameter, a date of the form yyyy-mm-dd

Description:

Returns a gregorian number from a gregorian date string.

The WorkQuery equivalent uses the Num command.

This is the inverse of Greg$.

Example:

[New] NewDate = Greg% 2017-12-04
Html ("NewDate: " & NewDate) 'NewDate: 152278