Display as: A 12-hour clock format (Java hosting) using an
Saturday, November 25th, 2006Display as: A 12-hour clock format using an uppercase “A” for AM and “P” for PM Example: Format(”17:08:06″, “hh:mm:ss A/P”) Returns: 05:08:06 P a/p Element: Time Display as: A 12-hour clock format using a lowercase “a” for AM and “p” for PM Example: Format(”17:08:06″, “hh:mm:ss a/p”) Returns: 05:08:06 p (: ) Element: Time separator Display as: A time format using a nonstandard character Example: Format(”17:08:06″, “hh::mm::ss”) Returns: 17::08::06 ww Element: Week Display as: A number (1 - 54) Example: Format(”01/06/98″, “ww”) Returns: 2 w Element: Weekday Display as: A number (1 for Sunday through 7 for Saturday) Example: Format(”01/06/98″, “w”) Returns: 3 y Element: Day of Year Display as: A number (1 - 366) Example: Format(”01/06/98″, “y”)
Hint: This post is supported by Gama web hosting hrvatska services