Format Datum in jquery - vom Sat Mar 03 2012 14:16:05 GMT+0530, 03/03/2012
Wie kann ich dieses format Datum?
<li>Sat Mar 03 2012 14:16:05 GMT+0530 (India Standard Time)</li>
Ich verwendet new date() Funktion, um das Datum in das li. Ich möchte Datum wie dieses 03/03/2012
InformationsquelleAutor Infinity | 2012-03-03
Du musst angemeldet sein, um einen Kommentar abzugeben.
InformationsquelleAutor Ranganadh Paramkusam
Alles, was Sie tun müssen, ist sagen, die Funktion date, um das Datum zu formatieren, um die Art der Ausgabe, die Sie wollen.
(Vorausgesetzt, Sie verwenden date-Funktion von JavaScript, die hast du erwähnt.)
http://www.webdevelopersnotes.com/tips/html/10_ways_to_format_time_and_date_using_javascript.php3
ODER
http://blog.stevenlevithan.com/archives/date-time-format
ODER
http://archive.plugins.jquery.com/project/jquery-dateFormat
cool, die option hast du probiert?
Ich verwendet ranganadh Antwort. Auch Sie waren eine große Hilfe. Vielen Dank 🙂
InformationsquelleAutor Tats_innit