trident icon indicating copy to clipboard operation
trident copied to clipboard

💡 [REQUEST] - Simplify the access to the current time

Open IaroslavMazur opened this issue 4 months ago • 1 comments

Summary

Right now, accessing the current time of the Trident Client requires performing the following manipulations:

trident.get_client().get_sysvar::<Clock>().unix_timestamp;

It'd be nice if the above could be achieved by a single function call abstracting the aforementioned complexity away.

Basic Example

trident.get_current_time()

Drawbacks

None

Unresolved questions

No response

Implementation PR

No response

Reference Issues

No response

IaroslavMazur avatar Oct 13 '25 07:10 IaroslavMazur

yes this will be implemented

lukacan avatar Oct 24 '25 07:10 lukacan