playMaker

Author Topic: Time between game plays [SOLVED]  (Read 3268 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Time between game plays [SOLVED]
« on: April 03, 2013, 06:01:21 AM »
Hey,

I'm currently making a game where I need to know how much time has past between play sessions, I've tried to use the system date/time but without importing a calander, I can never know exactly how many days in a month (if the player plays the game on the 29th of a month and then comes back a few days later. Any suggestions? This is key to my game working or not :S

Cheers
Andrew
« Last Edit: April 03, 2013, 06:28:10 AM by LampRabbit »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Time between game plays
« Reply #1 on: April 03, 2013, 06:05:05 AM »
Hi,

 try this:

http://hutonggames.com/playmakerforum/index.php?topic=1047.msg4332#msg4332

to get the dates themselves, use "getSystemDateTime" action.

bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Time between game plays
« Reply #2 on: April 03, 2013, 06:14:36 AM »
Exactly what I need, thank you so much!!!