By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,967 Members | 1,236 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,967 IT Pros & Developers. It's quick & easy.

Coverting TO UNIX timestamp

P: n/a
Hi! I found several resources describing how to convert the UNIX timestamp to
a readable date, however I need to convert a date into a UNIX timestamp.
For instance, I'm writing a program that will be querying an Oracle
database, and I need to select data that falls between a certain date. All
the dates are stored as UNIX timestamps. So, I need a way to convert a date -
like April 1st, 2005 - to the unix timestamp... I thought to use the date()
function to break it down, but I'm not quite sure how to do the conversion....

Anyone else know?

Jul 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.