| | |
Date and Time
Please support our ColdFusion advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2008
Posts: 351
Reputation:
Solved Threads: 30
I think you have to use or capital HH for 24 hour
* h: Hours; no leading zero for single-digit hours (12-hour clock)
* hh: Hours; leading zero for single-digit hours (12-hour clock)
* H: Hours; no leading zero for single-digit hours (24-hour clock)
* HH: Hours; leading zero for single-digit hours (24-hour clock)
* m: Minutes; no leading zero for single-digit minutes
* mm: Minutes; a leading zero for single-digit minutes
* s: Seconds; no leading zero for single-digit seconds
* ss: Seconds; leading zero for single-digit seconds
* t: One-character time marker string, such as A or P
* tt: Multiple-character time marker string, such as AM or PM
* short
* medium
* long
* full
* h: Hours; no leading zero for single-digit hours (12-hour clock)
* hh: Hours; leading zero for single-digit hours (12-hour clock)
* H: Hours; no leading zero for single-digit hours (24-hour clock)
* HH: Hours; leading zero for single-digit hours (24-hour clock)
* m: Minutes; no leading zero for single-digit minutes
* mm: Minutes; a leading zero for single-digit minutes
* s: Seconds; no leading zero for single-digit seconds
* ss: Seconds; leading zero for single-digit seconds
* t: One-character time marker string, such as A or P
* tt: Multiple-character time marker string, such as AM or PM
* short
* medium
* long
* full
![]() |
Similar Threads
- How to Get Last Accessed/Created/Modified File Date and Time (C)
- how to Minimize application to Task bar/near date/time ? (Visual Basic 4 / 5 / 6)
- Setting system date and time using c++ (C++)
- Date and Time Picker (Windows NT / 2000 / XP)
- recording date and time a link is clicked (ASP.NET)
Other Threads in the ColdFusion Forum
- Previous Thread: Database return records issue
- Next Thread: stop page refreshing
Views: 2187 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for ColdFusion





