dateTime subtraction

 

I need to subtract, 1 day and 1 hour, from this server time below:

2012.02.10 00:06:53
so that I could obtain the server time below:
2012.02.09 23:06:53

How can I do this? any help please appreciated greatly.
 
zaffrono:

I need to subtract, 1 day and 1 hour, from this server time below:


every second more datetime is counting 1 more
 
zaffrono:

I need to subtract, 1 day and 1 hour, from this server time below:

datetime - ( (PERIOD_D1 + PERIOD_H1) * 60 )

the dates you have shown are different by 1 hour though . . not 1 day and 1 hour . . . so

datetime - ( PERIOD_H1 * 60 )

 
RaptorUK:

datetime - ( (PERIOD_D1 + PERIOD_H1) * 60 )

the dates you have shown are different by 1 hour though . . not 1 day and 1 hour . . . so

datetime - ( PERIOD_H1 * 60 )



Dear RaptorUK:


Thank you very much for your quick respond and effort.

Reason: