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