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

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

Undefined offset
The following script checks to see if the user answer matches the correct answer.

Form Fiel

question about n
I was looking at some of the things you could do with php and one of the things I have tried is n.<

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

Bluetooth RSSI & VIsta
Okie I got 4 Bluetooth adapters, a DBT-120 by Dlink, A Zonet Microsoft Bluetooth which is what I use

please help me... my password gets encrypted but not able to get in database
hai guys,
please help me... in the following function my password gets encrypted but no

error help - Dynamic Image
I've been working on making my site less cluttered in the directories and more secure lately. In an

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

Mass activity scheduling
Hi experts,

Im facing some problems to deal with mass activity jobs.
When I run some

Problems with adding a link to one position in a 'foreach' loop, please help
Hello!

Iam pretty new to programming and I wanna create a table with users from an array. It

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