Help Topics for clock

Project

clock

Function

minus

Sample CLI

gway clock minus

Signature

(*, seconds=0, utc=False) -> 'datetime'

Docstring

Return current datetime plus given seconds.

Project

clock

Function

now

Sample CLI

gway clock now

Signature

(*, utc=False) -> 'datetime'

Docstring

Return the current datetime object.

Project

clock

Function

plus

Sample CLI

gway clock plus

Signature

(*, seconds=0, utc=False) -> 'datetime'

Docstring

Return current datetime plus given seconds.

Project

clock

Function

to_download

Sample CLI

gway clock to-download

Signature

(filesize)

Docstring

Prompt: Create a python function that takes a file size such as 100 MB or 1.76 GB (pick a wide array of units) and then calculates the possible time to download it within 4 ranges. You choose the ranges logarithmically. Then, perform a quick check against google to let the user know what their current range is.

Project

clock

Function

ts

Sample CLI

gway clock ts

Signature

(*, utc=False) -> str

Docstring

Return the current timestamp in ISO-8601 format.