Determination of the start and end of the month and the

? Determine the beginning and end of the month when you click on the button.

? Determine the beginning and the end of last month, when clicking on the button.

? Determine the beginning and end of the week when you click on the button.
The example will be created:

? HTML form

? HTML text box to display the start date

? HTML text box to display the ending date

? HTML button 'for the previous month'

? HTML button 'for the current month'

? HTML button 'week'


The example will be performed:

? Search button html 'for the previous month'

? Search button html 'for the current month'

? Search button html 'week'

? binding event when clicking on Knop 'for the previous month'

? binding event when clicking on Knop 'for the current month'

? binding event when clicking on Knop 'week'

? Creating an object the current date.

? a shift in the date of the last month of the current.

? definition of the latter for the last month.

? definition of the name of the last month.

? start date of the formation of waste water in the form "day month year".

? formation of drains end date "day month year".

? output data to an HTML page.

? Creating an object the current date.

? definition of the last for the current month.

? definition of the name of the current month.

? start date of the formation of waste water in the form "day month year".

? formation of drains end date "day month year".

? output data to an HTML page.

? Creating an object the current date.

? definition of the serial number of the day this week from 1 to 7.

? moving the date of the beginning of this week, that is, on ponedelkik.

? determine the number at the beginning of the week.

? definition of the name of the month at the beginning of the week.

? definition at the beginning of the week.

? moving the date to the end of the week, ie on Sunday.

? determine the number at the end of the week.

? definition of the name of the month at the end of the week.

? definition at the end of the week.

? start date of the formation of run-off "day month year".

? formation of drains end date "day month year".

? output data to an HTML page.

? Search text field input c id = inputFrom.

? Search text field input c id = inputTo.

? withdrawal start date in the text field input.

? the output end date in the text field.


The example will Create function:

? function determining the initial and final date of the current month.

? function determining the initial and final date of the current week.

? The definition of the start and the last date in the last month.

? function to determine the number of the last day of the specified month.

? function to display the month name in Russian.

? function to determine the day of the week on the Russian calculus from 1 to 7.

? function to output data to the html page.