www
code
portfolio
thespiritx.com
Version Number: Lost To The Cosmos
Produced by:
Clinton LaForest
Sponsored by:
Working one heck of alot
code.thespiritx.com
jQuery Date Format
Date Formatting based off the php2js date function (
http://phpjs.org/functions/date:380
).
Example
$.date('F j, Y, g:i a','1273024800');
$.date('Ymdhisu',1273024800);
Download
Version 1.0
js - full
js - minified
Notes
• Currently Only Accepts string or numeric unix style timestamps. (Divide the Javascript style timestamp by 1000)
• Plans in place to accept the string inside whatever element date is extending in place ofa string or number.
Usage
$.date(
format
,
timestamp
);
home
Utilities
Reference & Tests
Programming Projects
Whimsical
Useful Links