Greg$

Takes one parameter, a gregorian number

Description:

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

This is the inverse of Greg%.

Example:

[New] NewDate = Greg$ "152278"
Html ("NewDate: " & NewDate)

Output:
NewDate: 2017-12-04