Date command output in ISO-8601 format

Written on 05 August 2016

date +'%Y-%m-%dT%T.0Z'  

or get date in varible

day8061=$(date +'%Y-%m-%dT%T.0Z')  
Read more on date tricks command tips