# Well, official time achieved

**URL:** <https://forum.kirupa.com/t/well-official-time-achieved/29911>\
**Category:** Uncategorized\
**Created:** [September 1, 2003, 11:47pm UTC](https://forum.kirupa.com/t/well-official-time-achieved/29911 "2003-09-01T23:47:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dudeman](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@dudeman](https://forum.kirupa.com/u/dudeman)\
**Post date:** [September 1, 2003, 11:47pm UTC](https://forum.kirupa.com/t/well-official-time-achieved/29911/1 "2003-09-01T23:47:47Z")

</div>

[http://members.lycos.co.uk/dudeman26/time.php](http://members.lycos.co.uk/dudeman26/time.php)

Simple php script… no one ever told me that time(); works off the server’s time, lol ;/

If you want the script, sign-up for lycos (or any php hoster) and adjust the hours. 21600 = 6 hrs in seconds, adjusted to fit lycos’s time.

```php
<? $time = time()-21600; $thetime=date("l, jS F Y g:ia",$time); echo $thetime; ?>

```

Thing is, I’m confused about something in flash…

How can I tell flash to disable for the whole day(s) if day = x?

For example, user presses a button… a symbol turns red for the whole day.

Another user enters the swf, and it loads the vars from a txt and compares with the php vars from time.php.

I think I understand what to do, but it will probally turn out a newb’d up script :-\
