I am trying to pull a time stamp out of a database,looks like this
2004-06-24 10:12:03 . Then I need to substring it so that I can take
a difference of 2 times. Basically I making a clock in/clock out
script for my job. But I can't figure out the query and then how to
substring the time so that I can do math with just the time part and
not the date. Or if you guys/gals no if any code out there, were
someone has written a script like this, that would be great. I am
willing to send my code if you need it. It should be easy to code,
but i've never done PHP before. Thanks in advance.
Jimmy Allen
2004-06-24 10:12:03 . Then I need to substring it so that I can take
a difference of 2 times. Basically I making a clock in/clock out
script for my job. But I can't figure out the query and then how to
substring the time so that I can do math with just the time part and
not the date. Or if you guys/gals no if any code out there, were
someone has written a script like this, that would be great. I am
willing to send my code if you need it. It should be easy to code,
but i've never done PHP before. Thanks in advance.
Jimmy Allen
Comment