Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

easy way to get time and date

Status
Not open for further replies.

NateBro

Programmer
Sep 1, 2004
233
US
i have seen a lot of scripts that go over board in trying to get the time and date, what would be the simplest way for...

$date to eq the date, and $time to Esq the time?

not messing with any formating, just the standard output, thanks.
 
localtime(time)

can't get any easier that I know of
 
wow, do i feel dumb now.....

Thanks, it probably taken me awhile to figure it out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top