This content has been marked as final.
Show 2 replies
-
1. Re: Timestamp to Unix time
shawkins Mar 7, 2013 5:46 AM (in response to dsusin)You can use: timestampdiff(SQL_TSI_HOUR, timestamp, currentTimestamp()) < 24
-
2. Re: Timestamp to Unix time
dsusin Mar 7, 2013 6:21 AM (in response to shawkins)Thanks, easier than YEAR() * 365 + DAYOFYEAR(), that was what I was going to do.