02-27-2023 03:51 AM
Please help me to convert this below UNIX date format to regular date format,
1445910469510
Solved! Go to Solution.
02-27-2023 04:40 AM
It is because the parse
method expects a number but you are providing a string value.
You need to parse the “Modified_Date”, you can do so by using parseInt(string)
.
In your case would be:
parseInt($Modified_Date)
And the full expression to format the date would be:
Date.parse(parseInt($Modified_Date))
02-27-2023 04:15 AM
If that is the field you have in the input document, then you can simply use:
Date.parse($Modified_Date)
02-27-2023 04:40 AM
It is because the parse
method expects a number but you are providing a string value.
You need to parse the “Modified_Date”, you can do so by using parseInt(string)
.
In your case would be:
parseInt($Modified_Date)
And the full expression to format the date would be:
Date.parse(parseInt($Modified_Date))
02-27-2023 10:39 PM
Thank You @j.angelevski, @shashish.jha for helping me on this use case.