Calendar date format

Caravelle

Active Member
Licensed User
Longtime User
:sign0085: Can someone please tell me how I make the standard Calendar component show the date in format DD/MM/YYYY ? It comes up by default as the USA MM/DD/YYYY style which can be very confusing in the UK where I live. DateFormat ("dd/mm/yyyy") works nicely when I display dates elsewhere, but Calendar.Format("dd/mm/yyyy") does not work (syntax error) and the help for Calendar.Format mysteriously does not refer to date formatting at all.

Thanks

Caravelle
 

Caravelle

Active Member
Licensed User
Longtime User
Klaus

Of course, it now becomes clear. DateFormat is a function, Calendar.Format is a property.

I have also discovered that it is possible to set the date format property directly in the Calendar Control Property editor.

Thanks

Caravelle
 
Top