home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15512 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.2 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!qualcom.qualcomm.com!dorner.slip.uiuc.edu!user
  2. From: sdorner@qualcomm.com (Steven Dorner)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: IUTimeString 411 gaffe?
  5. Message-ID: <sdorner-150992132551@dorner.slip.uiuc.edu>
  6. Date: 15 Sep 92 18:31:20 GMT
  7. Sender: news@qualcomm.com
  8. Followup-To: comp.sys.mac.programmer
  9. Organization: Qualcomm, Inc
  10. Lines: 19
  11. Nntp-Posting-Host: dorner.slip.uiuc.edu
  12.  
  13. 411 says the following about IUTimeString:
  14.  
  15. >pascal void IUTimeString(long dateTime,Boolean wantSeconds,Str255 result)
  16. >...
  17. >Given a date and time as returned by the Operating System Utility
  18. >routine ReadDateTime, IUTimeString returns in the result parameter a
  19. >string that represents the corresponding time of day.
  20. >...Notice that the time contains a space in place of a
  21. >leading zero when the format specifies "no leading zero", so the length
  22. >of the result is always the same.
  23.  
  24. Is it just me, or is this last sentence wrong?  I don't seem to get a
  25. leading space when I call IUTimeString with a small time.
  26.  
  27. I've taken a quick look in the other online dox, and can find no mention of
  28. this, one way or another.
  29. --
  30. Steve Dorner, Qualcomm, Inc.
  31. Giving one of them new-fangled Mac newsreaders a try.
  32.