time

This section is a work in progress.

Examples:

import { Canister, ic, nat64, query } from 'azle/experimental';

export default Canister({
    // returns the current timestamp
    time: query([], nat64, () => {
        return ic.time();
    })
});