Getting the Time
Calling rust_socket.get_time()
returns a RustTime
object with the following info:
class RustTime with fields:
day_length: float
sunrise: str
sunset: str
time: str
raw_time: float
Last updated
Was this helpful?
Calling rust_socket.get_time()
returns a RustTime
object with the following info:
class RustTime with fields:
day_length: float
sunrise: str
sunset: str
time: str
raw_time: float
Last updated
Was this helpful?