Hello anoop.radhskrishnan.nair.007@gmail.com,
I have tried this using the example lpuart_echo_s32k144 from the SDK (if you don't have the SDK please check the following link), adding the following code I didn't have problems with the route:
time_t rawtime;
struct tm *info;
char buffer[80];
time( &rawtime );
info = localtime( &rawtime );
strftime(buffer,80,"%x - %I:%M%p", info);
LPUART_DRV_SendDataBlocking(INST_LPUART1, (uint8_t *)buffer, 80, TIMEOUT);

I think this could be related to the project settings. Be sure that you're enabling the libraries (newlib/redlib).

For reference, I'm using S32 Design Studio for ARM (Version: 2.2)
I hope this helps you.
Best Regards,
Alexis Andalon