Module on Getting the Date & Time

E

Edvard Majakari

Hi,
Is there a Modules in Python that returns the time &
date of today when ran?

You mean a method in a module? Yes, there's good 'ol time module, which will
probably provide what you need:
(2005, 5, 12, 10, 13, 30, 3, 132, 1)

For details, see 'pydoc time'

--
# Edvard Majakari Software Engineer
# PGP PUBLIC KEY available Soli Deo Gloria!

$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top