What is the version of the following sentence with correct punctuation?

The day of the week on which this happened to be written IF it could have been all written within one day is not important and that is not what this verse means at all
The day of the week on which this happened to be written IF it could have been all written within one day is not important, and that is not what this verse means at all.