[Plugin] System date and time

Post your completed addons to share with the community

Post » Thu Jul 18, 2013 5:35 am

@devaldivia

- Get current month name could be done by add an array which has these months name. User could assign the months name with english or chinese.

- Convert to millisecond to days, weeks, months, years. I thought it might have many formats, user might want to convert milliseconds to days only, or weeks+days, or months+days. So it is better to make by events.
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Thu Jul 18, 2013 10:28 pm

Noted. Thank you anyway for the useful plugin.
B
6
S
1
Posts: 29
Reputation: 658

Post » Fri Jul 19, 2013 2:08 pm

I am pretty new to Construct2, would this plugin be able to be used for an in game to-do list? If so, where would be the best place to start?

Thanks for any help, I love your multitude of plugins!
B
5
S
1
Posts: 26
Reputation: 479

Post » Fri Jul 19, 2013 2:14 pm

I meant with an alarm function that would go off when the to-do list item is scheduled...sorry for the double post...
B
5
S
1
Posts: 26
Reputation: 479

Post » Tue Aug 13, 2013 7:45 pm

There is seem to have a bug with the plugin. The unix timestamp I have is this 1376419130, which on online conversion 08/13/2013 6:38pm GMT, which is good but with the plugin, it gives me the year 1970, january 16th???

Rex Rainbow, any idea?

Thanks
B
4
Posts: 7
Reputation: 464

Post » Wed Sep 04, 2013 12:45 am

@rexrainbow, thank you for making this plugin, very useful!
B
13
S
3
G
1
Posts: 15
Reputation: 714

Post » Wed Sep 04, 2013 11:37 am

Love this plugin, except... is it supposed to be off by one day?

[code]zeropad(Date.Day(Date.UnixTimestamp), 2)&"."&zeropad(Date.Month(Date.UnixTimestamp), 2)&"."&Date.Year(Date.UnixTimestamp)[/code]
B
88
S
33
G
7
Posts: 31
Reputation: 8,425

Post » Wed Oct 16, 2013 9:01 pm

@rexrainbow how to show hours like 23 as 11??
thx
B
12
S
3
G
1
Posts: 347
Reputation: 2,866

Post » Fri Nov 01, 2013 11:55 am

Great plugin, this is exactly what I was missing in C2.

However I have same problem as McKack, except Im 5 days off, rest of the time (year, hours, etc.) is fine. Any suggestions?
B
4
Posts: 13
Reputation: 751

Post » Wed Dec 04, 2013 5:16 am

@mikva and @McKack

Date.Day will give you the "day of week" (0 for Sunday, 1 for Monday, up to 6 for Saturday)

You want to use Date.Date to get the current day of the month (1 to 31).

Thanks for the awesome plugin rexrainbow!
B
52
S
16
G
10
Posts: 342
Reputation: 9,569

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests