Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread tedd
At 10:07 AM +0200 10/6/09, Matthias Laug wrote: argh, why do I always stick to the stupid questions :( sorry Because with the important questions, you don't need answers. You understand them. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com --

Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Tom Worster
On 10/6/09 4:16 AM, "Mert Oztekin" wrote: > My mistake, > > I thought it was date() now strftime() > Sorry > > (why do php developers create two different standarts for such similiar > functions???☺ ) > it's traditional to do so. it reminds me of the bit about subtly incompatible shells in un

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Jason
m.tr] Sent: 06 October 2009 09:07 To: 'Jason'; 'Matthias Laug'; php-general@lists.php.net Subject: RE: [PHP] Time Problem: always ten past xx Jason, %M is also month: Month --- --- F A full textual representation of a month, such as January or March January through December

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Mert Oztekin
g'; php-general@lists.php.net Subject: RE: [PHP] Time Problem: always ten past xx Jason, %M is also month: Month --- --- F A full textual representation of a month, such as January or March January through December m Numeric representation of a month, with leading zeros 01 through

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Mert Oztekin
, October 06, 2009 11:04 AM To: 'Matthias Laug'; php-general@lists.php.net Subject: RE: [PHP] Time Problem: always ten past xx Hi, That's because %m is month, what you need is %M for minute (note uppercase). Check out http://php.net/strftime HTH J -Original Message- From

Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Matthias Laug
thias Laug [mailto:matthias.l...@gmail.com] Sent: Tuesday, October 06, 2009 10:53 AM To: php-general@lists.php.net Subject: [PHP] Time Problem: always ten past xx Hey everybody, I've got a strange problem. Using PHP5.3 on my MacBook. There is a script, which handles input from user, in this case

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Mert Oztekin
ject: [PHP] Time Problem: always ten past xx Hey everybody, I've got a strange problem. Using PHP5.3 on my MacBook. There is a script, which handles input from user, in this case a date and time. So I get for example "10:30" and "06.10.2009". Standard german time f

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Jason
oblem: always ten past xx Hey everybody, I've got a strange problem. Using PHP5.3 on my MacBook. There is a script, which handles input from user, in this case a date and time. So I get for example "10:30" and "06.10.2009". Standard german time format. Now I try to get

[PHP] Time Problem: always ten past xx

2009-10-06 Thread Matthias Laug
Hey everybody, I've got a strange problem. Using PHP5.3 on my MacBook. There is a script, which handles input from user, in this case a date and time. So I get for example "10:30" and "06.10.2009". Standard german time format. Now I try to get the correct timestamp: $time = strtotime("06