Closed (fixed)
Project:
Date
Version:
6.x-2.4
Component:
Date CCK Field
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2010 at 13:48 UTC
Updated:
26 May 2011 at 19:26 UTC
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
Comment #1
jmolinas commentedyou 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
Comment #2
choster commented