PHP Classes

Not Working Properly

Recommend this page to a friend!

      Time Zone Converter  >  All threads  >  Not Working Properly  >  (Un) Subscribe thread alerts  
Subject:Not Working Properly
Summary:Class code have issue
Messages:1
Author:manish
Date:2010-07-24 11:11:05
 

  1. Not Working Properly   Reply   Report abuse  
Picture of manish manish - 2010-07-24 11:11:05
This class code have some issue...I tried with

<?php
include("convert_timezone.php");
$obj=new convert_timezone;
$str=$obj->conver_to_time(5.5,"2006-10-02 10:30:00",-2);
echo $str;
?>

And it is returning 2006-10-03 03:00 which is wrong....