Feature - Rejected gameyear_to_int()

I'm trying to find an easy way to compare one day to the next, with no guarantee that it hasn't been ~96 days since my last log in... so gameday_to_int() isn't sufficient because it cycles... any potential for a gameyear_to_int() so that I can use it to get an absolute number for comparison? (Or just a boolean parameter to gameday_to_int to include the year automatically)

EDIT: Okay, so in the meantime I thought I'd just pull it myself with visit_url... is the game year stored ANYWHERE in KoL or do I have to rely on the wiki to get this info?

EDIT EDIT: nevermind, disregard this, I just found that game year is a "man-made" concept that doesn't come from TPTMBG
 
Last edited:
What about today_to_string() ? You can convert that to an int and do whatever you need, I would think.

That's basically what I have to do, only I'm using now_to_string() and some math to figure out if rollover has/hasn't occurred (thus making it "tomorrow"/"yesterday" in some parts of the globe). Thanks though.
 
Top