I have a set of time in this format.
01:00:04
How can I adjust the time to deduct 4 second from it?
Was trying to parse it but is the a quick way to do it using datetime or something?
Thanks,
Tee
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
strtotime()like this :which will return the timestamp you need.