找回密码
 注册
搜索
热搜: 回贴

Showdate函数显示各种英文日期

2009-12-16 01:21| 发布者: admin| 查看: 144| 评论: 0|原作者: 韩菱纱

用法:
Showdate ( [date object|string], [day string], [month string], [date string], [year string], [delimeter string] )
Date:- Javascript date object in the form new Date(), new Date(1982,06,30).
Day:- Day string in the form "dddd" or "ddd".
Month:- Month string in the form "mmmm", "mmm", "mm".
Date:- Date string in the form "dddd", "ddd", "dd", "d".
Year:- Year string in the form "yyyy", "yy".
例子 效果
Showdate(new Date(), 'dddd', 'mmm', 'dd', 'yyyy', '-') Tuesday, May-24-2005
Showdate(new Date(), 'dd', 'mm', 'dd', 'yyyy', '.') 2405.24.2005
Showdate(new Date(2001,11,25), 'dddd', 'mmm', 'dd', 'yy', ' ') Tuesday, Dec 25 01

最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-29 21:33 , Processed in 0.215956 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部