Andy Bradford wrote:
> sqlite> SELECT strftime('%Y-%m-%d %H:%M:%S',1);
> -471-11-25 12:00:00
>
> Is this perhaps undefined behavior because it does say %Y has a range of
> 0000--9999?

Yes.  (strftime always outputs the year with four characters, whatever
they might be.)


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to