Greg$

Takes one parameter, a gregorian number

Description:

Returns a gregorian date string (yyyy-mm-dd) from a gregorian number.

The WorkQuery equivalents use the Value command and Text command.

This is the inverse of Greg%.

Example:

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