Ask Your Question

How do we get the current time?

asked 2013-05-02 15:51:02 +0100

Aye gravatar image

updated 2013-05-02 17:27:15 +0100

vdelecroix gravatar image

I would like to use the current time instead of a password as a key for some encryption. Does anyone know how to obtain the current time with Sage?

Thank you!!!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-02 16:27:53 +0100

vdelecroix gravatar image


You may use the time library of Python:

sage: from time import time
sage: time()

More informations at

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-05-02 15:51:02 +0100

Seen: 2,117 times

Last updated: May 02 '13