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

8835Re: [NTO] javascript date notation

Expand Messages
  • derek_barnes@mail.com
    Aug 3, 2010
    • 0 Attachment
      I know nothing about Java, but shouldn't this be "...uur=-12..." ??

      else if(uur >= 13){ap=" PM";uur-=12}


      cheers,
      Derek


      ==========================


      -----Original Message-----
      From: Adrien Verlee <adrien.verlee@...>
      To: ntb-OffTopic@yahoogroups.com
      Sent: Mon, Aug 2, 2010 10:18 pm
      Subject: Re: [NTO] javascript date notation


      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.
      --
      Adrien





      ------------------------------------

      Yahoo! Groups Links







      [Non-text portions of this message have been removed]
    • Show all 4 messages in this topic