Login Page - Create Account

Support Board


Date/Time: Sat, 11 May 2024 14:30:08 +0000



Post From: MySCDateTime.GetDayOfWeek() ERROR

[2018-11-01 19:14:54]
User114959 - Posts: 10
Hello,

When using this function, the date returned is not correct. This is occurring in the Simulated version while testing the custom function.
Not sure if the simulated feed has the current day of the week. The day returned is off by a couple of days.

Having to update the variable manually each day due to this issue while testing.

Please advise.

  SCDateTime MySCDateTime;

  if (MySCDateTime.GetDayOfWeek() == MONDAY)
  {
    Based on if the day is Monday set a variable;
  }

Thank you.