Ask Your Question

How do we get the current time?

asked 2013-05-02 08:51:02 -0600

Aye gravatar image

updated 2013-05-02 10:27:15 -0600

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 09:27:53 -0600

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 08:51:02 -0600

Seen: 1,607 times

Last updated: May 02 '13