Functions are similar to constants that they can be set variables However, they can also be predefined and server side information. Such as the date function in the example.