The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

My ugly SQL by stoft2007-04-26 05:53:45
  I'll see your SQL and raise you a RegExp by madjo 2007-04-26 07:42:43
"(((0[1-9]|[12][0-9]|3[01])([/-])(0[13578]|10|12)([/-])([1-2]
[0,9][0-9][0-9]))|(([0][1-9]|[12][0-9]|30)([/-])(0[469]|11)
([/-])([1-2][0,9][0-9][0-9]))|((0[1-9]|1[0-9]|2[0-8])([/-])
(02)([/-])([1-2][0,9][0-9][0-9]))|((29)(\.|-|\/)(02)([/-])
([02468][048]00))|((29)([/-])(02)([/-])([13579][26]00))|((29)
([/-])(02)([/-])([0-9][0-9][0][48]))|((29)([/-])(02)([/-])
([0-9][0-9][2468][048]))|((29)([/-])(02)([/-])([0-9][0-9]
[13579][26])))"

I broke it up a little, for the boards consideration.
Oh and no, I did not write it... I did decipher it, but for the puzzle loving junkies, I'll encase the solution in SPOILER tags

SPOILER SPOILER SPOILER SPOILER
SPOILER this code is SPOILER
SPOILER for a date function. SPOILER
SPOILER One that factors in SPOILER
SPOILER leap years SPOILER
SPOILER SPOILER SPOILER SPOILER
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)