asprin
Active member
The use case is such that I need to modify the incoming form input value before storing it in the column. For example:
	
	
	
		
	
	
	
		
				
			
		HTML:
	
	<xf:dateinput name="start_date" value="{{ date($xf.time, 'Y-m-d') }}" />
	
		PHP:
	
	function _preSave()
{
    if($this->update())
    {
        $this->starts_in = <grab the start_date value here and convert to UTC>
    }
}