# Expiry functionality in Flash?

**URL:** <https://forum.kirupa.com/t/expiry-functionality-in-flash/183065>\
**Category:** flash\
**Created:** [March 23, 2006, 3:35pm UTC](https://forum.kirupa.com/t/expiry-functionality-in-flash/183065 "2006-03-23T15:35:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![midi](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@midi](https://forum.kirupa.com/u/midi)\
**Post date:** [March 23, 2006, 3:35pm UTC](https://forum.kirupa.com/t/expiry-functionality-in-flash/183065/1 "2006-03-23T15:35:57Z")

</div>

[FONT=Times New Roman][SIZE=3]Hello,[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]I would like to find out whether there is a time-out or expiry functionality in Flash, a kind of counter that determines when the [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Flash file (either .swf or .exe ) was first opened and then counts down a number of days, at the end of which the files are disabled?[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]It would be great is someone could point me in the right direction, thanks![/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]midi[/SIZE][/FONT]

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 23, 2006, 3:42pm UTC](https://forum.kirupa.com/t/expiry-functionality-in-flash/183065/2 "2006-03-23T15:42:31Z")

</div>

You could use php to check the date on the server, like this:

```php
$timestamp = time();

```
