Question
Outputting Time
Hi all,
I've started using dates/times on my websites stored in a date/time field in my database. In the past, when I typed in times on my site rather than pulled them from a database, I formatted them slightly different than CF does. For example, if the time was 9 in the morning, I would key in 9 a.m. on my site. However, because of the date/time field in Access, the time gets output as 9:00 AM. Two questions: 1) Is there a way to drop the two zeros and 2) Can I make AM/PM show up as a.m./p.m.
I know it seems extremely picky, but I want this great transition to dynamic dates to be seemless for my users.
Thanks!
I've started using dates/times on my websites stored in a date/time field in my database. In the past, when I typed in times on my site rather than pulled them from a database, I formatted them slightly different than CF does. For example, if the time was 9 in the morning, I would key in 9 a.m. on my site. However, because of the date/time field in Access, the time gets output as 9:00 AM. Two questions: 1) Is there a way to drop the two zeros and 2) Can I make AM/PM show up as a.m./p.m.
I know it seems extremely picky, but I want this great transition to dynamic dates to be seemless for my users.
Thanks!
