cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Wrong time setting
January 8, 2008
8:51 pm

Please replace the ??? with your data!

[desc]: the time shown for saved cform entries seems to be way off the set blogtime – and GMT for that sake. Looks like eight hours off my time (gmt +1) – so have you maybe hardcoded some US time zone? or … have I missed a setting.

January 8, 2008
9:56 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

The variables {Date} & {Time} are resolved using these metrics:

$date = mysql2date(get_option('date_format'), current_time('mysql'));
$time = gmdate(get_option('time_format'), current_time('timestamp'));

The SQL INSERT (for cforms DB Tracking) has no specific date/time adjustment and relies on your SQL server settings.

I'll double check if this can/should be adjusted. This is the first time however this has been pointed out.

EDIT: While the above variables reflect your blog settings, the tracked submissions times may vary based on how the DB server is configured. I'll change it to also reflect the blog time (for v7.2).

January 9, 2008
8:02 am

Cool – must be server time that showed yes. Silly not to mention, I'm on Bluehost which is midwest US.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3757

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5355

Posts: 18732

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)