# File lib/spreadsheet/format.rb, line 167 def datetime? !!/([YMD].*[HS])|([HS].*[YMD])/.match(@number_format.to_s) end