# Date Variables

**URL:** <https://forum.kirupa.com/t/date-variables/155671>\
**Category:** random\
**Created:** [July 19, 2005, 3:21pm UTC](https://forum.kirupa.com/t/date-variables/155671 "2005-07-19T15:21:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nixon](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nixon](https://forum.kirupa.com/u/nixon)\
**Post date:** [July 19, 2005, 3:21pm UTC](https://forum.kirupa.com/t/date-variables/155671/1 "2005-07-19T15:21:28Z")

</div>

Hi everyone,

This sounds simple, but I can’t seem to figure it out. I have a set of flash banners inside an intranet that are controlled by a random Array php script. At the end of each movie, it loads the next movie into \_level0 (i.e., loadmovieNum(“banner3.swf”, 0), and the php controls the random movie on refresh etc.

On July 28th, I need this banner to load a different banner. example code:

stop();  
getdate();  
if (date=[x]){  
loadMovieNum(“banner4.swf”,0);}  
else if (date=[z] || \>x){  
loadMovieNum(“banner5.swf”,0);}

This sounds super simple, but I can’t seem to figure it out. Any help??
