Small. Fast. Reliable.
Choose any three.
*** 129,135 ****
  
  Compute the last day of the current month.
  
!   SELECT date('now','+1 month','start of month','-1 day');
  
  Compute the date and time given a unix timestamp X.
  
--- 129,135 ----
  
  Compute the last day of the current month.
  
!   SELECT date('now','start of month','+1 month','-1 day');
  
  Compute the date and time given a unix timestamp X.