Intro to serialize

Intro to serialize

I have two variables that I would like to use jQuery serialize and send to a PHP file with a post.  I don’t know how to format the command to serialize them.  Here is the start of the code.  How do you serialize the day and month variables?

var currentTime = new Date()

var day = currentTime.getDate()

var month = currentTime.getMonth() + 1