Do you know how to get the month (or the month and the year) of a date type field in xml ?
I would like to compare it like I compare the day :
<field name="domain">[('date_field','=', time.strftime('%Y-%m-%d'))]</field>
PS : sorry for my english :s
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/12/13, 12:37 PM|
|Seen: 1739 times|
|Last updated: 3/16/15, 8:10 AM|