Set Page Date & Time
Description | : | Set the page date and time to desired time |
Download |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Author(s) | : | Onetastic | |||||||||
Category | : | Pages | |||||||||
Last Updated | : | July 02, 2017 | |||||||||
Requirements | : | OneNote 2010 or above | |||||||||
Screenshot | : | ||||||||||
![]() Set Page Date & Time
|
|||||||||||
Changelog | : | July 02, 2017 (47AB5C) - Onetastic February 11, 2017 (5748BD) - Onetastic June 20, 2016 (1FE428) - Onetastic These versions are no longer supported: November 24, 2014 - Onetastic |
Can you give me a pointer on how to accomplish that? I'm sure it's relatively simple, but I'm new on Onetastic and not up to speed on the inner workings.
Thanks
on our code line 20: <Param name="count" value="10" />
This removing the complete datetime format from datetime string and causing 30 added minute in my case. setting <Param name="count" value="13" /> will fix the issue.
Btw I'm in timezone +5:30 :)
Modifying property(dateTime) = 2015-02-21T08:15:59.000Z (time) -- set -- variable(dateTime) = 2015-02-21T09:00:59.000+05 (string)
New value: 2015-02-21T04:00:59.000Z (time)
I am noticing an issue, assuming property only takes 000Z as timezone but I'm in +5 zone so as per my entered time New Value of property(datetime) should be 2015-02-21T03:30:59.000Z (time). Somehow it's not converting +5 to GMT properly.
How about if I subtract 30 Minutes from generated GMT.
Please fix it.
A 12h option would be useful.
I see no value of this macro as you can change the time by clicking on the displayed time of the page and changing with your mouse.
Thanks :)
Thus: setting the time to 12:34 results in a page time of 10:34
Maybe you can fix it... :)
Thanks