DateTimeToCTime
4 min
takes a datetime value and returns the c time that represents the same date and time in the c programming language, a date and time is a long integer number of seconds since midnight on 1/1/1970 it is a representation of a datetime value used in the c programming language this information is used in certain integrations syntax datetimetoctime(dtval) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes1 business rules calculation rules (after save, with or without also recalculate on load) yes business rules calculation rules (before save or always, without also recalculate on load) yes1 business rules calculation rules (before save or always, with recalculate on load) yes business rules editing rules yes2 business rules initialization rules yes1 business rules read only rules no business rules required rules yes2 business rules validation rules yes1 client expressions no object permissions no services yes ldap yes mobile yes quick actions (except ui quick actions) yes1 ui quick actions no reports yes1 search/dashboard without field references yes1 search/dashboard with field references no except in services except in services and when this field appears on a form or is triggered by such a field parameter parameter description dtval the datetime value for which to calculate the c time return value 64 bit integer example $(datetimetoctime("8/12/2015 at 2 01 pm")) for the example above, returns the number of seconds between 1/1/1970 00 00 am and 8/12/2015 at 2 01 pm, which is 1439413254
