I have two date fields with different format, one is human read format: yyyy-mm-dd (2004-12-01); another one is unix time stamp.
My question is if I need to get the date that 7 days before one specific date (for example: 2004-12-08, 7 days before it would be 2004-12-01, how to do it by using these two different format of date?
For unix time stamp, just transfer day to seconds, then mines it?
thank you for your tips.