Changes

Web Page View Field Variables

105 bytes added, 14:44, 26 August 2009
no edit summary
|@minute(fullstartdate)@||minute in ''Start Time''
|}
:'''For End Date or Close Date replace ''fullstartdate'' with either ''fullenddate'' or ''fullclosedate'' accordinglyrespectively.'''
:''(seconds are not available for standard date/time fields)''
'''You can also use "currentdate" to display specific elements of the current date or time''':
:{| border="1" cellpadding="5"|+|@month(currentdate)@ - ||current month number|+|@daymonthname(currentdate)@ - ||name of current daymonth |+|@yearday(currentdate)@ - ||current yearday |+|@dayweek(currentdate)@ - ||name of current day|+|@monthnameyear(currentdate)@ - name of ||current monthyear |+|@hour(currentdate)@ - ||current hour using 12 hour clock (0-12)|+|@ampm(currentdate)@ to provide a ||AM or PM reference for am/pm for current time|+|@hour24(currentdate)@ - ||current hour using 24 hour clock (0-24)|+|@minute(currentdate)@ - ||current minute|}
(seconds are not available for the current time)
'''You can parse out a particular date/time in a date field''':
:{| border="1" cellpadding="5"|+|@yearmonth(''fieldname'')@ - returns the year value ||month number in ''fieldname''|+|@monthmonthname(''fieldname'')@ - returns the ||name of month value in ''fieldname''|+|@day(''fieldname'')@ - returns the ||day in ''fieldname''|+|@dayweek(''fieldname'')@||name of day value in ''fieldname''|+|@year(''fieldname'')@||year in ''fieldname''|+|@hour(''fieldname'')@ - returns the ||hour value in ''fieldname'' using 12 hour clock (0-12)|+|@ampm(''fieldname'')@ to provide a ||AM or PM reference for am/pm for time in ''fieldname''|+|@hour24(''fieldname'')@ - returns the ||hour value in ''fieldname'' using 24 hour clock (0-24)|+|@minute(''fieldname'')@ - returns the ||minute value in ''fieldname''|+|@second(''fieldname'')@ - returns the ||second value in ''fieldname''|}
0
edits