ux getToday

return date as string in local format

 

string=getToday(string separator,date)

 

separator = separator between year, month and day. Default="/"

date = the date, which the system has to convert

 

getToday()        return company date as string, example 2022/05/03

getToday("-")        return company date as string with "-" as separator 2022-05-03

getToday(NULL,anyDate) return defined date with "/" as separator