Date/Time Problem
1 post
• Page 1 of 1
Date/Time Problem
Hi I installed Phalanger 2.0 march 2008 version and created one test web site in Visual Studio 2008. I tried hello world, dynamic variables and it works ok. Problem starts when I tried date function:
What's wrong. as I understood this things should work?
echo date ("l dS of F Y h:i:s A");echo "July 1, 2000 is on a " . date ("l", mktime(0,0,0,7,1,2000));Stack Trace:
from php_manual, and$time = time();
$ltime = getdate($time);
$stime = Date(
"H:i:s", $time);
from Phalanger samples (clock.php)
and got:
Object reference not set to an instance of an object. error
Line 10: $time = time();Line 11: //$ltime = getdate($time);Line 12: $stime = Date("H:i:s", $time);Line 13: ?>Line 14:
|
- draxtor@codeplex
- Posts: 6
- Joined: January 7th, 2012, 8:52 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests