Announcement

Collapse
No announcement yet.

getDay() change from 7.8 to 7.9

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • getDay() change from 7.8 to 7.9

    var dayNum = 0;

    function main() {
    var today = getDay();

    if(dayNum != today)
    {
    dayNum = today;
    ...


    With respect to the code above:

    In version 7.8, execution does not drop into the if...clause when dayNum == today as you would expect.

    In version 7.9 this behavior has changed and execution drops into the if clause even when dayNum == today.

    Any ideas?
    Standing on the shoulders of giants.

  • #2
    As a temporary workaround use getDay(0), getMinute(0) etc...

    A solution will be coming up in 7.9.1.

    Comment


    • #3
      Wildfiction,

      Here is a link to a previous discussion on this http://forum.esignal.com/showthread....tDay#post67670. ... edit - I see Dion has already answered while I was searching using "getDay"
      Last edited by Guest; 05-02-2005, 10:39 AM.

      Comment


      • #4
        Thanks DionLoy - I'll try that.

        Thanks stevehare - unfortunately I don't have permission to access that part of the forums.
        Standing on the shoulders of giants.

        Comment

        Working...
        X