How to format date in bash to YYYY-DD-MMTHH:MM:SS.sss

Viewed 1451

can someone give me a point how to format data in bash with miliseconds? Thanks for help.

BR.

Petr

1 Answers

Solution is pretty simple. It is date '+%Y-%m-%dT%T.%3N'.

Related