Any way to get current day month year hour minute?
Monkey Forums/Monkey Programming/Any way to get current day month year hour minute?
| ||
| Is there any way to get current day month year hour minute? I need a cross platorm way to check for current day |
| ||
| I think Diddy has most of the targets covered. |
| ||
| Thanks, will give it a look! |
| ||
| Does not the latest version have DateTime built in? I think I saw it in the source code next to millisec. |
| ||
| Yes, the app class now has a GetDate method. |
| ||
| The app class of Diddy? mmm... why is it on the app class? does the date depend on the app? It looks like a design flaw if you ask me (trying to be constructive!) I'll take a look to the sources. thanks for the heads up! |
| ||
| The app class of monkey. |
| ||
| Aaaah ok, it's a function on the app module, but not in the App class. That makes more sense. That was confusing me. Glad to see it's built-in. Thanks! |
| ||
| Cool! I didnt know that it was built in either! More native code to remove from Diddy :) |
| ||
| But it is undocumented I think. So please post how to properly use it and it'll help the rest of us in having to go through testing it too! Even tough I assume it is pretty simple stuff. |
| ||
| It is documented into the app module page on version 68 |
| ||
| Oh my docs say v60. Looks like I need an update :) |