Adding variables from datetime to matplotlib

It means a short working example of your code, that demonstrates the issue.

A good example can be found in this post.