Selivanoff Posted February 13, 2018 Report Share Posted February 13, 2018 Is there a way to get asset versions, that were created, for example, today? Something like versions = ftrack_session.query('AssetVesion where date is %s'%(today)) Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted February 14, 2018 Report Share Posted February 14, 2018 Hi, yes that should be possible wit the query that you've added. Or similar: session.query('AssetVersion where date is 2017-02-14') Just note that if you're running ftrack hosted by us the dates will be stored in UTC. Link to comment Share on other sites More sharing options...
Selivanoff Posted February 14, 2018 Author Report Share Posted February 14, 2018 Hi, Mattias! Thanks! It worked, but session.query('AssetVersion where date is 2018-02-12') gives empty result, and session.query('AssetVersion where date after 2018-02-12') works and gives back correct list of versions. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.