b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 7370974 (Thread)

# I like that
does it automatically choose the current date?
(, Thu 5 Jul 2007, 10:26, archived)
# It does
through the magic of PHP trickery, it will select the correct pictures for the day.

The full set of pics are here:

www.hairyaerosol.com/cal_test.php

And the code is free for anyone to use FWIW.

(I'm working on a clock using photos of me and semaphore flags, but I can't get the thing to show local time, only German time. gnaaaahh)
(, Thu 5 Jul 2007, 10:29, archived)
# Is your server located in Germany?
I don't care though, as German time is the same as Dutch time...
(, Thu 5 Jul 2007, 11:05, archived)
# Yep
1&1.
(, Thu 5 Jul 2007, 11:18, archived)
# (Please excuse geekiness)
You can set UK time in PHP:

// Set Timezone
date_default_timezone_set('Europe/London');
// Output long date
print date("l, d F Y H:i:s (T)")
(, Thu 5 Jul 2007, 11:49, archived)