Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Nitrohex on November 14, 2013, 05:52:41 PM

Title: [SOLVED]How to get DayOfWeek?
Post by: Nitrohex 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!
Title: Re: How to get DayOfWeek?
Post by: jeanfabre 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
Title: Re:[SOLVED]How to get DayOfWeek?
Post by: Nitrohex on November 15, 2013, 08:01:50 AM
Thanks Jean,

Reading on these links i got my issue solved.