[Plugin] System date and time

Post your completed addons to share with the community

Post » Thu Feb 16, 2012 10:55 am

oh. It seems like you should then :) it's called "unix time", i thought the "Get current ticks" returns ticks not milliseconds, so I think this name is misleading. great plugin nevertheless. cheers!
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Thu Feb 16, 2012 12:47 pm

Update:

Add "Expression:UnixTimestamp". Thank you @ranma.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Thu Feb 16, 2012 12:48 pm

@Chuck Glenn

Setup:
How to install plugins and behaviorsrexrainbow2012-02-16 12:49:17
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Mon Mar 12, 2012 12:18 am

Update:

Add a sameple capx for getting reaction time in 1st post.rexrainbow2012-03-12 00:24:17
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sat Jun 30, 2012 2:38 pm

Great plugin @rexrainbow - exactly what i needed.

I want to use the Unix Time Stamp, but the number it returns seems too short. I get a number like:
1033658779

When including milisecconds the complete timestamp since January 1st 1970 should be about this long:

1341053199000

Any idea why the number i get is shorter? I read the number simply by asigning it to a text field in C2.

B
2
Posts: 2
Reputation: 354

Post » Sun Jul 01, 2012 2:18 am

Update:

Change return type of UnixTimestamp to "float", so that it could return original value.


@Toraz

Thanks, I got this problem. Please download the latest date plugin and try again.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sat Jul 07, 2012 4:09 pm

Thanks Rex, it is working smoothly now.
B
2
Posts: 2
Reputation: 354

Post » Wed Dec 19, 2012 2:20 am

Thank you! But when I setup the plugin the problem occur.
The error message is " can't open the file 'E:\program files\Construct 2\exporters\html 5\plugins\rex_date\common.js". What's the reason?
B
4
Posts: 3
Reputation: 331

Post » Wed Dec 19, 2012 7:24 am

@zhangcui

Sorry, I don't know why. Can not help you.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Fri Dec 21, 2012 10:23 am

Hello @rexrainbow, this plugin is useful for gameplay purposes.

I have a question if you don't mind

How to add count of days when on layout starts? it could set WebStorage, when we launch application at first time, it appears "0" on text, then exit the application.


Then 12 days later and launch the application again, the text appears "12"

Do you have an idea how to make it?


Thanks!
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests