Int - An integer that is representative of the extracted value.
# This example would grab the current time, and print the current month.
date = system.date.now()
print system.date.getMonth(date) #This would print the current month.
# This example would create a date object, and print out the quarter of that date.
date = system.date.getDate(2017, 3, 15) #This would print "Mon April 15 00:00:00 PDT 2016"
print system.date.getQuarter(date) #This will print 2
# This example can be placed on the action performed event of a button.
# It will then grab the day of the week of the calendar component,
# and enter the value returned into a numeric text field.
date = event.source.parent.getComponent('Calendar').date
event.source.parent.getComponent('Numeric Text Field').intValue = system.date.getDayOfWeek(date)