Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 11, 2007 00:17
open dhtmlx forum
Calendar dd/mm/yyyy

Hi, do you have a way of showing the date as dd/mm/yyy instead of mm/dd/yyyy

thanks
Answer posted on Oct 11, 2007 11:30
It is possible for "calendar" and "dhx_calendar" through setDateFormat command, last excell support next formatting options

%e   Day of the month without leading zeros (01..31)
%d   Day of the month, 2 digits with leading zeros (01..31)
%j   Day of the year, 3 digits with leading zeros (001..366)
%a   A textual representation of a day, three letters
%W   A full textual representation of the day of the week

%c   Numeric representation of a month, without leading zeros (0..12)
%m   Numeric representation of a month, with leading zeros (00..12)
%b   A short textual representation of a month, three letters (Jan..Dec)
%M   A full textual representation of a month, such as January or March (January..December)

%y   A two digit representation of a year (93..03)
%Y   A full numeric representation of a year, 4 digits (1993..03)