Syntax:

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".


Example Results
Showdate(new Date(), 'dddd', 'mmm', 'dd', 'yyyy', '-')
Showdate(new Date(), 'dd', 'mm', 'dd', 'yyyy', '.')
Showdate(new Date(2001,11,25), 'dddd', 'mmm', 'dd', 'yy', ' ')

Download showdate.js

Free JavaScripts provided
by The JavaScript Source


Today is:


k_dot_p_dot_hart_at_tudelft_dot_nl
Last modified: Monday 04-12-2006 at 21:21:13 (CET)