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....
Did you know?Explore Trending and Topic pages for more stories like this.
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
50
Other forums
xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<
Help with syntax
Hi all!
The $bridge variable is not getting passed while it is contained in the line below:
URL Rewrite issue
Im created a series of Rewrites and on page checks to make sure the correct url is being called. But
I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun
MySQL Primary key gap
Alright, so I have a table with 26 entries in it (id, filename, caption) for my image randomiser (ht
Simple Scraper... Weird Output
Okay, maybe I just need a Blue Monster and some sleep, but....
I'm scraping a ringtone site
Displaying data from database into a 2 dimensional table
Good day!
I'm a beginner in PHP and I'm not expecting a full coding for this qestion. I'm jus
Taylor Series Function
So I am working a a project for my intro C++ class, and I am having some trouble with a function for
PHP error. Need help urgently
Hi,
I am programming a php site and have a problem that i just cant find out how to fix. When
Where is my php.ini???
Hi
First off - apologies - i'm not a coder so this may sound very amateur.
I'm having