Title: Date Field/PHP conversion
**
Brad,
If you need to convert an integer value from a Date field in Remedy to a PHP date, you should be able to use the "cal_from_jd" function.
 
$phpdate = cal_from_jd($remedydate, CAL_GREGORIAN);
 
This returns an array of values related to the given date.
 
 
The "jdtounix" and "unixtojd" functions may also be useful, depending upon what type of conversion you are attempting.
 
HTH,
 
Thomas
 

----- Original Message -----
From: Brad Welch
Newsgroups: gmane.comp.crm.arsystem.general
Sent: Tuesday, September 26, 2006 13:22
Subject: Date Field/PHP conversion

**

Remedy's Date Field doesn't use any kind of conventional timestamping that PHP providesÂ… does anyone know of a converstion script/function for PHP to remedy's Date field?  Thanks in advance for any help.

ARS 5.1.2
SQL 2000 Server
Windows 2K

__20060125_______________________This posting was submitted with HTML in it___
__20060125_______________________This posting was submitted with HTML in it___

Reply via email to