TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRISTOPHER BUTLER
from: KEVIN CAMPBELL
date: 1997-06-24 16:10:00
subject: Date/Time

 > Is there an easy way to get the date/time as an ASCII string? eg:
 > "22-06-1997, 2:06pm"
I did this recently. Either use sprintf() or strftime(). gettime() and 
localtime() should give you the values you need.
Have Fun - Kev
Kevin Campbell
Sysop of Deimos BBS
E-Mail: Sysop@Deimos.unmanned.co.uk
--- FMail/386 1.02
---------------
* Origin: Mail shipped from Deimos Spaceport (2:258/8)

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