Date Information

Discussion and feedback on Construct 2

Post » Tue Apr 01, 2014 7:08 am

Hi guys..
I want to show information about date of today, but month information just 3 character.
for example MAY 12, 2014
how to do that?
B
4
S
1
Posts: 34
Reputation: 443

Post » Tue Apr 01, 2014 11:57 am

The way I'd do it is use the Execute Javasctipt action of the Browser object.
https://www.scirra.com/manual/110/browser

And here you can find the javasctipt Date object.
http://www.w3schools.com/js/js_obj_date.asp
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Tue Apr 01, 2014 1:40 pm

I don't understand please direct me to clear tutorial or example.
B
4
S
1
Posts: 34
Reputation: 443

Post » Tue Apr 01, 2014 3:53 pm

Actually, if you don't know javascript, it would be easier for you just to use this custom plugin:

plugin-system-date-and-time_t63492?
B
33
S
12
G
7
Posts: 227
Reputation: 7,582


Return to Construct 2 General

Who is online

Users browsing this forum: R0J0hound and 3 guests