R
|
rod 9/7/2010 |
Hi, I have a field (date_opened) and another field (date_archived)... date_opened is read only, with the default of Now() What I need, is a way for date_archived to be set the same way as the current day plus 30 days... Any help appreciated.... Alan
|
A
|
ashumak author 9/8/2010 |
Thanks, |
P
|
Pkas 9/8/2010 |
Thanks, But I was looking for something..if possible, to put into the default for a field. Short and sweet... Alan
|
![]() |
Sergey Kornilov admin 9/8/2010 |
If you are talking about default values in PHPRunner try the following: date('Y-m-d H:i:s', mktime(date('H'),date('i'),date('s'), date('m'),date('d')+30,date('Y'))) |
A
|
ashumak author 9/15/2010 |
If you are talking about default values in PHPRunner try the following: date('Y-m-d H:i:s', mktime(date('H'),date('i'),date('s'), date('m'),date('d')+30,date('Y')))
|