Loading ...
Sorry, an error occurred while loading the content.

8834Re: [NTO] javascript date notation

Expand Messages
  • Adrien Verlee
    Aug 2, 2010
      Op 2-aug-10, om 11:10 heeft Adrien Verlee het volgende geschreven:

      > I can change to 24, but counts are not properly after AM or PM.

      Oh! "key-script" is this:

      if(uur==0){ap=" AM";uur=12}
      else if(uur <= 11){ap=" AM"}
      else if(uur == 12){ap=" PM";uur=12}
      else if(uur >= 13){ap=" PM";uur-=12}
      if(min <= 9){min="0"+min}

      It must be logic, but can't see it.
    • Show all 4 messages in this topic