# Determining date

**URL:** <https://forum.kirupa.com/t/determining-date/155674>\
**Category:** Uncategorized\
**Created:** [July 19, 2005, 3:31pm UTC](https://forum.kirupa.com/t/determining-date/155674 "2005-07-19T15:31:05Z")\
**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:31pm UTC](https://forum.kirupa.com/t/determining-date/155674/1 "2005-07-19T15:31:05Z")

</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 isn’t my actual code, just an example of what I need it to do?)

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