Hey all,
I'm having a slow day, Is there anyway with php to check that an integer is a valid timestamp?
bascially I just need to check that its a 10 digit long integer as I'm getting from a database and just need to make sure that converting it to a RFC formatted date doesn't chuck up any errors.
cheers.
I'm having a slow day, Is there anyway with php to check that an integer is a valid timestamp?
bascially I just need to check that its a 10 digit long integer as I'm getting from a database and just need to make sure that converting it to a RFC formatted date doesn't chuck up any errors.
cheers.