Jump to content


Photo

Printing a new date once a week


  • Please log in to reply
1 reply to this topic

#1 Adastra

Adastra
  • Members
  • PipPipPip
  • Advanced Member
  • 36 posts

Posted 14 June 2006 - 12:44 PM

Hi Freaks,

is it possible with PHP to print the date of the recent last Sunday, which automatically updates itself on that said Sunday (or on another day of the week, like every Tuesday)? Would be very good to know! But if it's way to complicated, just forget about it ;)

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 14 June 2006 - 01:22 PM

'Complicated' is all in the mind.

Everything you need is in the manual at the [a href=\"http://ca3.php.net/manual/en/function.date.php\" target=\"_blank\"]date function[/a] pages.

If you're stuck, show us your code and someone will offer help (probably).
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users