How do I play dates and time?

How-to questions and answers

How do I play dates and time?

Postby davewinter3 » Tue May 29, 2007 3:35 pm

I am doing a database dip and getting back the string 2007-05-27 11:23:33.000 from a datetime column. I would like to feed that into the /opt/swift/bin/swift (using swift.agi for Asterisk) and have it playback as "May 27th 2007 Eleven Twenty Thee AM"

Would I need to reformat that date and time information? Do I need to pass it into the swift binary with any specific flags? Is this even possible with Cepstra/swift?
davewinter3
 
Posts: 3
Joined: Tue May 29, 2007 3:33 pm

Return to How do I... ?

Who is online

Users browsing this forum: No registered users and 8 guests

cron