• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

CreateDateTime

Synopsis

                  CreateDateTime(year, month, day, hour, minute, second)

Returns a date/time object for the given date and time. For the year parameter of the function, ColdFusion MX accepts years in the range AD 100-9999. For information on how ColdFusion MX handles two-digit years, see CreateDate( ). Example:

7 p.m. on April 15, 2003 looks like 
<cfoutput>#CreateDateTime(2003, 04, 15, 19, 0, 0)#</cfoutput> 
as a date/time object.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint