$ 0 0 Time portion string can be obtained from date-time value using toString() function, as shown in the below code. a = ’01-Oct-2010 10:11:12′ ; alert a.toString(“HH:mm:ss”); …