Time stamp service issues

Hi i was facing problems when the date_string parameter is a unix value… inthe second case

links for my code files

https://glitch.com/edit/#!/timestmp-microsrvice

Hi, the Date should take a valid string for a date ex: "2018-11-19" or a number for the unix time ex: 23423423 not a string "23423423"

hey thanks… i think i have some problems with the time coming in milliseconds and converting that value… have to divide or multiply it by 1000 somewhere… will check and see if it does…

edit: ok so didnt have to divide or multiply by 1000… saw it in youtube so was thinking might be the problem here… just changing the date:query to a Number did solve the problem… thanks :slight_smile:

1 Like