I want the date&time to be in this format. For example
2012/3/21 23:47:01
2011/11/23 19:33:02
Is it make use of java script?
Any source code or tutorial help?
Many thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This article may be dated, but it should still do the trick http://www.tizag.com/javascriptT/javascriptdate.php
To return the current date, you can use something like:
And to return the time you can use something like: