Login | Sign up | Toll-Free: 1-800-752-0455



3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 3, 2013

I want an account expiration date to default to one year from the current date. I believe I should use the "Specify custom date (or strtotime) value below:" but have been unsuccessful. Any help would be greatly appreciated.

Hi mizrahionline, 

In the field editor for "date" fields try the following:

Default Value: [ Specify custom date (or strtotime value) below: ]
strtotime value: +1 year

Let me know if that works for you. Thanks!

Dave Edis - Senior Developer

Yep, that worked. I can't believe it was that simple. The issue I was having is that I thought I needed to include the "strtotime()" in the field.

thanks for the help.