Jump to content

Date Object Methods


Recommended Posts

When writing a script to do calculations on a date, what is the difference in the different methods? Such as "dateObj.getDate()" and "dateObj.setDate()". In looking at a table listing the different methods, it doesn't really explain the difference between the "get" and "set". At least not in the chapter I'm currently working in.Soon after I posted this I got it and understand the difference.

Edited by SmokingMan
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...