Support

Account

Home Forums General Issues datepicker return today's day if field empty Reply To: datepicker return today's day if field empty

  • I’m not exactly sure of the issue, but I do know that any call to a php date related functions with empty values for the date (null, false, empty strings, anything that PHP considers “empty”) result in PHP using the current date time. The only way around this it to make sure that the value is not empty before you apply php date functions to that value.