whats wrong in this datetime_format
ACCUM @@T_Date += datetime_format(to_datetime(R.Tdate,"%Y-%M-%D");
You have your parentheses wrong , see my other post
1 Like
Cross linking these two threads
http://dev.tigergraph.com/forum/t/trouble-using-datetime-format/529/7?u=jon_herke