Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Javascript Makes Me Cry: Turning a Date into a String (ralsina.com.ar)
5 points by ralsina on May 29, 2013 | hide | past | favorite | 1 comment


    date = new Date();
    s = date.toISOString();
Then pull characters from s.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: