At 7:07 PM -0600 12/30/07, Richard Lynch wrote:
Spacing and/or control (unprintable) characters could easily be
messing you up.
Use something like:
$l = strlen($input);
for ($i = 0; $i < $l; $i++){
echo "$i: $input[$i] (", ord($input[$i]), ")\n";
}
to see what you're getting.
Richard:
As u
Spacing and/or control (unprintable) characters could easily be
messing you up.
Use something like:
$l = strlen($input);
for ($i = 0; $i < $l; $i++){
echo "$i: $input[$i] (", ord($input[$i]), ")\n";
}
to see what you're getting.
On Fri, December 28, 2007 5:08 pm, tedd wrote:
> At 6:01 PM -0500
Yeah, and to what bazaar are you going, old man?
Look, I'm so loopy right now, I'm top-posting. How bizarre
Ohhh, I hate it when that happens -- but, I have had even more
embarrassing moments.
As to the problem I posted about strings being different, it was a
gremlin I fo
Yeah, and to what bazaar are you going, old man?
Look, I'm so loopy right now, I'm top-posting. How bizarre
HAPPY NEW YEAR TO ALL, AND TO ALL SHUT THE HELL UP!
Be safe, happy, and healthy into 2008!
On Dec 28, 2007 6:16 PM, Dan <[EMAIL PROTECTED]> wrote:
> "tedd" <[
On Dec 28, 2007 5:48 PM, tedd <[EMAIL PROTECTED]> wrote:
[snip!]
> Here is the code and demo:
>
> http://webbytedd.com/c/unix-time1/index.php
>
> It works for me on my server.
[snip!]
Well, if you don't want to change the timezone at runtime like I
suggested this morning, you could do somethin
On Friday 28 December 2007 23:48:21 tedd wrote:
> At 7:45 PM +0100 12/28/07, Børge Holen wrote:
> >On Friday 28 December 2007 16:46:46 tedd wrote:
> > > So, what's the best method in keeping things consistent across
> >>
> >> servers? Is there one?
> >
> >I almost took to a baseballbat, till I re
"tedd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi gang:
This really bazaar
Here's the code and demo:
http://webbytedd.com/c/unix-time1/index.php
If I cut/paste the following string "as-is" into the "Input Date" portion
of the form:
10-18-2009 00:00:00
It works and retu
At 6:01 PM -0500 12/28/07, tedd wrote:
Hi gang:
This really bazaar
Here's the code and demo:
http://webbytedd.com/c/unix-time1/index.php
If I cut/paste the following string "as-is" into the "Input Date"
portion of the form:
10-18-2009 00:00:00
It works and returns a UNIX timestamp of 1255
Hi gang:
This really bazaar
Here's the code and demo:
http://webbytedd.com/c/unix-time1/index.php
If I cut/paste the following string "as-is" into the "Input Date"
portion of the form:
10-18-2009 00:00:00
It works and returns a UNIX timestamp of 1255885200
However, if I cut/paste the foll
At 7:45 PM +0100 12/28/07, Børge Holen wrote:
On Friday 28 December 2007 16:46:46 tedd wrote:
> So, what's the best method in keeping things consistent across
servers? Is there one?
I almost took to a baseballbat, till I remembered to change php.ini to co run
two servers. Of course doing thi
tedd schreef:
> Hi gang:
>
> Using:
>
> $unix_in = 1255845600;
>
> echo(date("M d, Y h:i:s a",$unix_in));
>
> On one sever, produces: Oct 18, 2009 02:00:00 am
>
> But on another sever, produces: Oct 18, 2009 12:00:00 am
>
> This difference appears to be a combination of "time-zone" and
> "day
On Friday 28 December 2007 16:46:46 tedd wrote:
> Hi gang:
>
> Using:
>
> $unix_in = 1255845600;
>
> echo(date("M d, Y h:i:s a",$unix_in));
>
> On one sever, produces: Oct 18, 2009 02:00:00 am
>
> But on another sever, produces: Oct 18, 2009 12:00:00 am
>
> This difference appears to be a combinati
i'm pretty sure you can sync/link to a ntp server to accurately track the
time...
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Friday, December 28, 2007 7:47 AM
To: PHP
Subject: [PHP] Unix date
Hi gang:
Using:
$unix_in = 1255845600;
echo(date("M d, Y h:i:s a",$unix_
On Dec 28, 2007 10:46 AM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> Using:
>
> $unix_in = 1255845600;
>
> echo(date("M d, Y h:i:s a",$unix_in));
>
> On one sever, produces: Oct 18, 2009 02:00:00 am
>
> But on another sever, produces: Oct 18, 2009 12:00:00 am
>
> This difference appears to be
On Dec 28, 2007 10:46 AM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> Using:
>
> $unix_in = 1255845600;
>
> echo(date("M d, Y h:i:s a",$unix_in));
>
> On one sever, produces: Oct 18, 2009 02:00:00 am
>
> But on another sever, produces: Oct 18, 2009 12:00:00 am
>
> This difference appears to be a
15 matches
Mail list logo