php and easter

easter must be an important holiday for php. via daynah apparently you can find out the date of easter in this one line of code in php:

This year’s easter is on <? echo date (”M-d-Y”, easter_date()); ?>

yes it changes dynamtically.

easter_days() and easter_date() function


5 Comments Leave a Comment

Natasha [ Quote ]

Heh, that’s quite interesting :)

March 29th, 2004 at 6:25 pm
Bubs [ Quote ]

wow…. is there a christmas_date() function or just easter? maybe the php creator is relgious… or maybe he just likes bunnies? :D

March 29th, 2004 at 10:49 pm
dodo [ Quote ]

you’d think so but i couldn’t find one.

March 30th, 2004 at 10:17 am
julie [ Quote ]

heh weird.

March 31st, 2004 at 6:48 am
Daynah [ Quote ]

He loves bunnies! LOL

March 31st, 2004 at 6:51 am

Leave a Comment Name, email and comment are required.
Email will never be displayed.

Leave a Comment
  1. :biggrin: :blank: :blush: :bored: :confused: :cool: :down: :evil: :frown: :grin: :grr: :laidback: :left: :mad: :right: :sad: :secret: :shock: :smile: :stress: :tongue: :up: :wink: :yawn: :cute: :dead: :film: :floppy: :glasses: :grumpy: :headphones: :heart: :lightbulb: :ouch: :tv: :upsidedown: :vodka: :yell: :yuck: :yummy: