Second - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Second

Description
Extracts the ordinal for the second from a date/time object.
Returns
An integer in the range 0–59.
Category
Date and time functions
Function syntax
Second(date)
See also
DatePart, Hash,
Parameters
Parameter
date
Usage
When passing a date/time object as a string, you must enclose it in quotation marks. Otherwise, it
is interpreted as a number representation of a date/time object.
Example
<!--- This example shows the use of Hour, Minute, and Second --->
<h3>Second Example</h3>
<cfoutput>
The time is currently #TimeFormat(Now())#.
We are in hour #Hour(Now())#, Minute #Minute(Now())#
and Second #Second(Now())# of the day.
</cfoutput>
Minute
Description
A date/time object
Second
673

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents