[gtkada] formatting time strings
Stephen Leake
stephen_leake at acm.org
Fri Sep 26 03:40:54 CEST 2003
Windows has a function GetTimeFormatW that takes a system time and a
picture string and returns a formatted time string, using locale
settings; very handy.
For example, the picture string "hh:mm tt" returns "10:23 PM", but
"PM" is determined by the Locale.
Is there something like that in GtkAda? I've looked, but don't see
anything.
I can get partway there with Ada.Text_IO.Editing, but it's really not
the same.
--
-- Stephe
More information about the gtkada
mailing list