TimeZoneOffset


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

Please i need your help. I have a system that users can use to punch in and out. This system has been working fine however the time went one hour behind on sunday and since then the system has refused to work. I am using IIS server and this is code....
Line number On/Off | Expand/Contract public function showPunchView($messageType = null, $message = null) { $attendanceObj = new AttendanceRecord(); $records['attRecord'] = $attendanceObj->fetchRecords($_SESSION['empID'], null, null, AttendanceRecord::STATUS_ACTIVE, AttendanceRecord::DB_FIELD_PUNCHIN_TIME, 'DESC', '0, 1', true); $records['editMode'] = Config::getAttendanceEmpChangeTime(); $records['empId'] = $_SESSION['empID']; $timeStampDiff = ($_SESSION['userTimeZoneOffset'] - round(date('Z')/3600, 1))*3600; $records['currentDate'] = date('Y-m-d', time() $timeStampDiff); $records['currentTime'] = date('H:i', time() $timeStampDiff); $records['messageType'] = $messageType; $records['message'] = $message; $sysConfObj = new sysConf(); $records['timeInputHint'] = $sysConfObj->getTimeInputHint();

No comments posted yet

Your Answer:

Login to answer
288 Like 50 Dislike
Previous forums Next forums
Other forums

Delete records not in top 15
Hi,

I'm creating a hall of fame page in my game and the page will only display the top 15 sco

How could I combine these arrays??
Hello.. I'm trying to figure out a way to combine these first two arrays to get the last array..

Help with PHP Email Script
Hi guys,

I'm a newbie to php and need help with the script below:

At the moment when I

Getting Subdomain Name With PHP?
I want to grab the subdomain name with PHP so I can generate database queries.

for example my

Embed Video Problem
Hey, thanks for looking!

File to be embedded:

Code: <playlist version="1&q

styling a RadioButtonList
HiI need to have a radio button and close to it, its lable, then a space then another set of those.

Pipe email to PHP - get mail adress from MySQL - send?
Hi all,

this is the challenge:

1) Our faculty at the college where I'm employed includ

PHP form help required
Hi all! Apologies in advance for having to message the forum for help. I know you must get a lot of

Rand() help needed
Hi all,

Can someone explain and give me a quick example of how I would go about this?

Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and p

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash