starttime()

Returns a numeric timestamp representing the date and time when the library started running. This timestamp is useful for verifying that you are attaching to the correct, currently running instance of the library.

Syntax

planetcnc.starttime()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
start_time = planetcnc.starttime()
print(f"Library Start Timestamp: {start_time}")

See also

is_running
is_initialized
starttime