Parsing timestamp value before setting it as a parameter to prevent None being used as a parameterin requests