PostgreSQL: the function date_trunc is conceptually similar to the trunc function for numbers johayek 15 years ago PostgreSQL: Documentation: Manuals: PostgreSQL 9.0: Date/Time Functions and Operators Share this: Email a link to a friend (Opens in new window) Email Share on WhatsApp (Opens in new window) WhatsApp Press This! (Opens in new window) Press This Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Share on LinkedIn (Opens in new window) LinkedIn More Print (Opens in new window) Print Share on Telegram (Opens in new window) Telegram Share on Reddit (Opens in new window) Reddit Share on Tumblr (Opens in new window) Tumblr Share on Pinterest (Opens in new window) Pinterest