Get current time
*: Date and Time should be given in UTC.
Astronomical
Civil
Nautical

Example astropy code