Hi,
I want to do a thing I thought would be simple.
I have a date, example : 2004-10-15 11:17:42
I want to subtract 30 days from it (a month)
Result I want: 2004-09-15 11:17:42
Can anyone help me? I tried to use the mktime function, but it gives me a result like 1097899200
I want to do a thing I thought would be simple.
I have a date, example : 2004-10-15 11:17:42
I want to subtract 30 days from it (a month)
Result I want: 2004-09-15 11:17:42
Can anyone help me? I tried to use the mktime function, but it gives me a result like 1097899200