Question

Asurion
US
Last activity: 2 Feb 2016 7:09 EST
Unable to convert datetime to yyyy-MM-dd
Hi ,
Is there a function to convert the date format to yyyy-MM-dd and return a date object. I followed the steps in article SA-14171 but it returning me date in this format yyyyMMdd. I'm able to write a function which formats and returns the date as string. but not able to return the date as date object in this format(yyyy-MM-dd)
Thanks
Nagendran A