Date/Time function feature?

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
User avatar
celestian
Dragon
Posts: 276
Joined: Mon May 17, 2010 3:29 pm

Date/Time function feature?

Post by celestian »

I've been trying to find something related to time/date functions because I want to "stamp" a log entry on a token but can't seem to find one.

Is there a way to get current date/time via macro?

User avatar
aliasmask
RPTools Team
Posts: 9029
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Date/Time function feature?

Post by aliasmask »

Wiki: getInfo() returns a json where you can get date/time info. The timeInMs is based on UTC 0, but the time/date stamp is based on the client.

User avatar
celestian
Dragon
Posts: 276
Joined: Mon May 17, 2010 3:29 pm

Re: Date/Time function feature?

Post by celestian »

aliasmask wrote:Wiki: getInfo() returns a json where you can get date/time info. The timeInMs is based on UTC 0, but the time/date stamp is based on the client.
That'll work, thanks!

I kept searching for "time" "date" and similar on the wiki but never hit that ;(

Post Reply

Return to “MapTool”