VQS actionscript3.0 error page 161

Thanks to  Jeffrey Pallak for the folloiwng feedback:

First off, I think that the errata info on your site is great.  If only all

publishers did that…

Anyway, on page 161 of VQSG Actionscript 3.0, there is a formula for

turning 24-hour time to 12-hour format. It is wrong, you should subtract 12

from the hours, not subtract the hours from 24.

ie: if it is 1:00PM, your code would show the time as 11:00 (24 – 13 =

11).

(13 – 12 = 1) :)

no comments yet

Leave a response

You must be logged in to post a comment.