Spark sql get year and month from date July 8, 2019 16 32 64 128 Spark sql get year from date Spark sql extract year and month from date