datatable.compute method

G

Guest

I'm trying to compute the minimum datetime of a column in a certain datetime
range like so:

datatable.compute("Min(datetime_column)", "datetime_column < datetimeobject");

I get a syntax error.....I suppose this has something to do with compute
encountering a colon in my datetime and throwing a hissyfit. Is there some
way I can do this? You can compare datetime objects easily outside of a
compute call, so what gives?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top