echo some html on specific time range?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Stole
New php-forum User
New php-forum User
Posts: 3
Joined: Sat Nov 02, 2002 12:58 pm

echo some html on specific time range?

Postby Stole » Sat Nov 02, 2002 1:03 pm

Hi,

I'm a real beginner and I need some help with date and time, hope u can help me.

I need to echo some html in specific time range, e.g. I need to echo some html ONLY on every saturday from 2 PM - 4 PM (time have to be GMT).

Can u help me ? Thanx.

Jay

Postby Jay » Sat Nov 02, 2002 1:18 pm

Well, you could use the date() function to determine what the day and time is, and generate your script based on that!


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 4 guests

cron