Year, Month, Day

YMD()

Return encoded year-month-day

Description

YMD()

This function returns the current local date as YYYYMMDD

Parameters

none

Return value

Returns current date as YYYYMMDD.

Example usage

YMD()>20190515   // returns 1 if date is past May 15, 2019.