Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/12/177812/extensions.hesslow.se/public_html/classes/class.database.php on line 24 Hesslow Extensions
Forum
Spookyman2006-11-09 01:11:21
Hi @all,

I would like to change this script :

var date = new Date();
if (date.getHours() < 12)
return "Guten Tag";
else
return "Guten Abend";


in that mode that from 05:00 - 12:00 is good morning
from 12:00 - 18:00 good afternoon
and from 18:00 - 05:00 good evening

is it possible ? I ask here cause i cant code the program.

Thx for help ;)

Spookyman
Spookyman2006-11-09 01:23:32
Sorry wrong place i repost in Quicktext Pro.

Thx
Spookyman
1
Create post
You need to login before posting in the forum