I have a datetime64 t that I\'d like to represent as a string.
t
When I call strftime like this t.strftime(\'%Y.%m.%d\') I get this error:
t.strftime(\'%Y.%m.%d\')
Use this code:
import pandas as pd t= pd.to_datetime(str(date)) timestring = t.strftime('%Y.%m.%d')