TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRISTOPHER BUTLER
from: RUSSELL KING
date: 1997-06-30 05:20:00
subject: Re: Date/Time

 -=> Quoting Christopher Butler to All <=-
 
 CB> Is there an easy way to get the date/time as an ASCII string? eg:
 CB> "22-06-1997, 2:06pm"
Yes, use time.h and strftime. eg:
strftime(OutputCharVar, MaxSizeOfStringInt, FormatString, *timestruct);
Russ King
... My hard disk is full! Maybe I'll try this message section thing.
___ Blue Wave/QWK v2.12
--- Squish/386 v1.11
---------------
* Origin: Onwards And Upwards BBS (402)553-7390/7521 (1:285/49)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.