# Today?

**URL:** <https://forum.kirupa.com/t/today/53039>\
**Category:** flash\
**Created:** [May 30, 2004, 11:30am UTC](https://forum.kirupa.com/t/today/53039 "2004-05-30T11:30:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enidea](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Enidea](https://forum.kirupa.com/u/Enidea)\
**Post date:** [May 30, 2004, 11:30am UTC](https://forum.kirupa.com/t/today/53039/1 "2004-05-30T11:30:47Z")

</div>

I want to do a script that checks if a date is the current day, ealier or later.

something like

if(date()==30.5.2004){  
//something ahppen here  
}else if(date()\>30.5.2004) {  
//something here  
}else if(date()\<30.5.2004) {  
//something here  
}

I cant find any good way to do this.
