电脑故障

位置:IT落伍者 >> 电脑故障 >> 浏览文章

Showdate函数显示各种英文日期


发布日期:2019/7/28
 

用法:

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()

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

Showdate(new Date() dd mm dd yyyy )

Showdate(new Date() dddd mmm dd yy ) Tuesday Dec

上一篇:Standard Chartered银行方案

下一篇:如何使画出来的文字具有不一样的背景色