lukgoh |
|
---|---|
I have a new question: I am trying to set a start and end date for a page in my custom module (not an actual page in the page module). To set the date the page is submitted I am using this: (int)$sys['now'] which is working just fine. What I would like to know is how to automatically add 1 week to that value and set it as the end date? Thanks, Luke. Added 8 minutes later: Is this a safe method: 604800 + time() |
|
Отредактировано: lukgoh (02.02.2012 19:28, 13 лет назад) |