Hello
How do I conver bellow String to a Date ?
I’m receiving this via email body as 28/09. (DD/MM). I need to store this as a Date in local data storage. Is there a converter that I can convert this string to a Date.
Thanks
Hello
How do I conver bellow String to a Date ?
I’m receiving this via email body as 28/09. (DD/MM). I need to store this as a Date in local data storage. Is there a converter that I can convert this string to a Date.
Thanks
Hello @Niranga_Jayakody,
I don’t think that’s considered a valid date without the year, but if you’re able to assume the year, then you can use the parseDate() function to convert the string to a date.
Here are some screenshots demonstrating use of the parseDate()
function:
As you can see, the year is assumed to be the current year, and time is set to 12:00 AM local time.