meta data for this page
  •  

F_WEEKSBETWEEN

compatibility to GrUDF

Entrypoint weeksbetween compatible with UTF-8


Inputs/Outputs

   Input      TIMESTAMP   date optionally time 1
              TIMESTAMP   date optionally time 2
   Output     INTEGER     difference in (integer) weeks between timestamp 1 and timestamp 2

Syntax

   Sunday is 1st day of week.
   If the two dates are in the same week, the return value is 0.