Thread: date-time library
postgres has fantastic date-time parsing. I've tried some Java libraries that advertise amazing time parsing. But nothing seems to match postgres's time parsing. I started peeking through the source to find a reference to a library that postgres might be using for time parsing. no luck. Where would one look in the source code for the date-time parsing code or library reference?
Hi
2014-07-24 3:49 GMT+02:00 Charlie Holleran <scorpdaddy.ch@gmail.com>:
postgres has fantastic date-time parsing. I've tried some Java libraries that advertise amazing time parsing. But nothing seems to match postgres's time parsing. I started peeking through the source to find a reference to a library that postgres might be using for time parsing. no luck. Where would one look in the source code for the date-time parsing code or library reference?
the code is in https://github.com/postgres/postgres/blob/master/src/backend/utils/adt/datetime.c file
Regards
Pavel