I am doing a programme that stores the present time and date in \"yyyy-MM-dd\'T\'HH:mm:ss.SSSZ\" this format. and I am storing it in database as a string. when
\"yyyy-MM-dd\'T\'HH:mm:ss.SSSZ\"
There are these methods available to get the individual parts of a date
getDate() getMinutes() getHours() getSeconds() getMonth() getTime() getTimezoneOffset() getYear()