hello, please help me to convert cck date field to unix time for operate it in calculations via php code

for example, we have some field with date and we want to display info in block if time now smaller (or bigger) than time in this field

Comments

jmolinas’s picture

you can use strtotime() string containing an English date format and will try to parse that format into a Unix timestamp, cck date use ISO date time format

choster’s picture

Status: Active » Closed (fixed)