Could someone please tell me how to make a clock that is GMT always wherever in the world you are?
Also i would like to know how to make an application to know wether a spesific font is installed or not.
Well, with the font, you could either use the file extension and check to see if C:\windows\fonts\blahblah.tff (I think that's the font extension) exists, or just have a text file with that font. Take a screenshot of it. Put both on the level, and ask the user if the text's font is the same as the bitmap.
Originally Posted by Adam Phant For #1, you could just compare to what the time is on the server's clock. I don't know how you'd do this, though.
I understood that :/
It's more like: HOW?
Professional vaporware developer
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
18th June, 2008 at 04:36:54 -
You need a place to download the time from. I would recommend hosting a simple php page that simply displays the current time when you load the page, then all you would have to do is download the page as a text file and set the current time to the time inside the file.
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
18th June, 2008 at 06:57:28 -
<?php
/**
* Just add this in your page where you
* want the date/time to appear
*
* For more configuration options look
* in the PHP manual at http://uk2.php.net/date
*/
// Displays in the format Saturday, November 22, 2003 11.38
Thanks, but i can't get it to work... If i use html. would it look like this? : <html>
<head>
<title>
<?php
/**
* Just add this in your page where you
* want the date/time to appear
*
* For more configuration options look
* in the PHP manual at http://uk2.php.net/date
*/
// Displays in the format Saturday, November 22, 2003 11.38
echo date("l, F d, Y h:i" ,time());
?>
</title>
</head>
<body>
</body>
</html>