We can select nodes by conditions using EntityFieldQuery.
Drupal 7 – Get specific nodes using EntityFieldQuery
After I have installed the Date module, I could create a content type with a date field called field_expiry_date. When i setup this field, there are 3 date options in the field type.
- Date
- Date (ISO format)
- Date (Unix timestamp)
Continue reading Drupal 7 – Set a date fieldCondition in EntityFieldQuery