Getting current time

Hi,
I am new to freeRTOS, I want to get the current time during an execution of a task.

I used xTaskGetTickCount() to get the number of ticks. how can I convert it to milliseconds ?

Your FreeRTOSConfig.h file should have a constant configTICK_RATE_HZ, which gives the frequency of the tick interrupt.