ikarus/scheme/ikarus.date-string.ss

13 lines
297 B
Scheme
Raw Normal View History

(library (ikarus date-string)
(export date-string)
2007-10-12 00:33:19 -04:00
(import
(rnrs bytevectors)
(except (ikarus) date-string))
(define date-string
(lambda ()
(let ([s (make-bytevector 10)])
(foreign-call "ikrt_bvftime" s
2007-10-12 00:33:19 -04:00
(string->utf8 "%F"))
(utf8->string s)))))