playMaker

Author Topic: [SOLVED]How to get DayOfWeek?  (Read 2256 times)

Nitrohex

  • Junior Playmaker
  • **
  • Posts: 50
[SOLVED]How to get DayOfWeek?
« on: November 14, 2013, 05:52:41 PM »
Hi,

Is there a way to get the Day of Week, and then store it in a string variable?

Thanks in advance!
« Last Edit: November 15, 2013, 08:03:37 AM by Nitrohex »
Sign Up Now @ StartApp.com

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to get DayOfWeek?
« Reply #1 on: November 15, 2013, 07:04:43 AM »
Hi,

 Yep, use the action "GetSystemDateTime" action:

https://hutonggames.fogbugz.com/default.asp?W823

and use "dddd" as the format

more info on formating here:

http://msdn.microsoft.com/en-us/library/bb762911(v=vs.110).aspx

Bye,

 Jean

Nitrohex

  • Junior Playmaker
  • **
  • Posts: 50
Re:[SOLVED]How to get DayOfWeek?
« Reply #2 on: November 15, 2013, 08:01:50 AM »
Thanks Jean,

Reading on these links i got my issue solved.

Sign Up Now @ StartApp.com