熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Java編程 >> JSP教程 >> 正文

Showdate函數顯示各種英文日期

2013-11-15 11:37:37  來源: JSP教程 

  用法:

  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


From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19322.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.