Skip to content

Datetime Function Existence #41

Closed Answered by TheQuinbox
harrymkt asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
I don't think we have something exactly like diff_years, but datetime implements the opSub operator overload, so you can subtract two datetime objects and compare the fields.
If I recall correctly though, we plan to replace the datetime object with Poco's Datetime class as opposed to an Angelscript addon, so it's possible this could be added in the future.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by harrymkt
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #35 on June 09, 2024 02:02.