When getting 1970 the problem is your return format. The format being returned is not an acceptable format use in date functions. When I’m going to be manipulating dates I always set the return format to “Y-m-d” or “Y-m-d H:i:s” for date time fields and then I reformat it as I need.