how to get current seat number javaScript code example Example: calculate today date javascript var today = new Date();