Functions in jmeter - __time

Below is used to display time in year,month,date,hour,min.sec in the mentioned format

${__time(YMDHMS,)}

Below is used to display time in year,month,date in the mentioned format

${__time(Y-M-D,)}

Below is used to display time in hour,min,sec in the mentioned format

${__time(H:M:S,)}

The below command will show time in milliseconds from the begining of time.

${__time()}