Headsupdisplay The Date On Win Xp

i'm looking for an easier any easy way to get the date in a string so i cant call it up in a hud?

so far I use

global proc string getDate()
{
string $date =system ("date /t");
$date = startString($date, 14);
return $date;
}

headsUpDisplay -s 4 -b 0 -ba "right" -c "getDate()" -bs "medium" -dfs "large" HUDDate;

but im getting mix result on different windows machine.
it works on some of them...

thanks

date command is dependent on sytem locale. So a finnish machine would show the finish way ofdisplaying date whala ao0ne set to be in manerica sohows the american way wich is reverse in day and mith form what some other couuntries have.

Its a sytem preference.

dontg use $date = startString($date, 14); royugh but use strip or split instead and drop the later values because the length varies

CODE
global proc string getDate() {
   return about -currentDate;
}