Forum Discussion

ykoppisetty's avatar
ykoppisetty
New Contributor II
3 years ago
Solved

Unix Date format to Normal date format

Please help me to convert this below UNIX date format to regular date format, 1445910469510
  • j_angelevski's avatar
    3 years ago

    @ykoppisetty

    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))