use dateGenerate for older versions of SN