Be sure you add the correct vr when you do your script or it will not work. Also if you want to to be your local time then you will need to add a line with how many minutes you are plus or minus UTC and if your in the US and have daylight savings time you can add that too. Here is our complete config lines you can script. If you want to use a dns name then you will also have to add your dns server if you have not all ready on a separate line... Of course if you manage via a different vr you would just replace your vr name..
configure timezone -360 autodst
configure sntp-client primary 10.80.10.145 vr VR-Default
configure sntp-client broadcast vr VR-Default
configure sntp-client update-interval 600
enable sntp-client