Page 1 of 1

$sub_date in Formbuilder output

Posted: Thu Feb 19, 2009 4:34 am
by sailor
Hi all,

I'm running:

PHP 5 / Linux / Apache / MySQL 5

CMSMS Version: 1.5.2
CMSMailer 1.73.14
FormBuilder 0.5.11

Whenever a FormBuilder form submission is made it sets the variable $sub_date for use in the email templates, and I assume for insertion to the DB. My forms all produce a strange $sub_date formatted as follows:

Code: Select all

Wed, 18 Feb 2009 22:09:05 -0600
What's up with the "-0600" at the end? is that the server timezone offset? I cant seem to figure out how to remove it from the $sub_date variable.

As always any help is appreciated!