using date type instead of string (for loaded data)