why is it showing wrong date format in dygraph

we don't have your csv, so we can only guess at the contents of this variable.

Therefore, could you please add representative data to your posting to make it a reproducible example (reprex)? Please have a look at this guide, to see how to create one: