American getDate() Format
From Hack Wars Wiki
| Information for the American getDate() Format Script | |
| Script | American getDate() Format |
| API | Universal |
| Cost | $5 |
| Level | 0 |
| CPU Usage | 20 |
| Description | Will return the current date in an American date format (ex. Jan/24/09). |
| Output | "Apr/26/09" |
string getAmericanDate() { string date[] = split(getDate(), "-"); string month = date[1]; string day = date[0]; string year = date[2]; year = substr(year, 2, strlen(year)); return month+"/"+day+"/"+year; } |
