Synopsis:
sys_date({long_format_flag})
Arguments:
long_format_flag - if this optional argument is set to a non zero value then date will be returned in long format (YYYYMMDD)
Description: This function returns the current system date in the form YYMMDD unless the optional long_format_flag is set to a non-zero value in which case it will return the date in YYYYMMDD format.
Return Value:
Returns the current date.