|
|
|
อยากทราบการแปลง ข้อมูล UTC ใน jquery ช่วยหน่อยนะครับ |
|
|
|
|
|
|
|
Code (JavaScript)
date2 = new Date("08 Jun 2012 09:30:21");
document.write("Time = " + date2.getTime() +"<br>");
document.write("Seconds = " + date2.getSeconds() +"<br>");
document.write("Minutes = " + date2.getMinutes() +"<br>");
document.write("Hours = " + date2.getHours() +"<br>");
document.write("Day = " + date2.getDay() +"<br>");
document.write("Date = " + date2.getDate() +"<br>");
document.write("Month = " + (parseInt(date2.getMonth())+1) +"<br>");
document.write("Year = " + date2.getYear() +"<br>");
document.write("FullYear = " + date2.getFullYear() +"<br>");
document.write("<hr>")
JavaScript Date() Day , Month , Year , Second , Minutes , Hours
|
|
|
|
|
Date :
2013-03-15 12:12:36 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|