formatted date for graph tooltip