i have mysql 4.0.24 database and one table with two datetime rows (from_time and to_time). Now i want to make sure that no new entry is "between" an already existing entry in from_time and to_time. How can i do that?
The MySQL manual tells everything there is to know about MySQL functions. You can browse it in HTML form at the MySQL site, or download the PDF version.
The MySQL manual tells everything there is to know about MySQL functions.
I am sure it does and I understand the format and have populated various fields with the correct time and date using low level formatting but I have yet to discover any specific methods which deal with date / time manipulation.
I am just investigating what is available. In the past I have hard coded most of these functions but feel reluctant to re-invent the wheel.
I require functions such as Date_Last_Edited, Bid_Hours_Remaining and other such self made functions. I have these functions already written in PERL but was checking out what was available in MySQL.
OK Thanks for that.
Writing the functions is not a problem but I didn't want to do it if there were built in functions.
I have the date last edited available already but will have to do the time remaining one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.