THIS IS A TRANSCRIPT EXAMPLE APPLIED TO CONSTRUCT BASED ON
W3SCHOOLS TUTORIALS
WHAT YOU CAN DO WITH THIS EXAMPLE?
You can get the Current Local Time and UTC Time using Browser and a bit of Js.
By Following the W3Schools tutorial we use a text or a variable and execute the same code as js for Construct.
We have 9 Global Variables as for this Tutorial execution, 7 of them are integers (holding numbers like : 1, 2, 3 ...) and 2 of them will be strings (holding texts like, Monday, January, .etc)
the two String values are for Months and Days, in the case we want to compare The name of the day or the name of the month, or we want to display them as that.
But we also have the same values for Months and Days saved as numbers, just we need to keep in mind the array inside is starting counting as the Construct loopindex and that is from 0. While For Months we need to add one extra value to the
to get the current exact month. For days we do not need to do that since the 1st day in the array is Sunday and not Monday.
Every value of the date is saved in a Construct Global Variable for ease to use in Construct Language what you do with it at this point is up to you.
They are Years, Months (as String), MonthNumber, Day (as String), DayNumber, Hour, Minute, Second and Millisecond.
For more Stuff like this comment bellow let me know what you want to see, next.
"Stop talking, let me download the file!" - download