Hello
I am trying to insert "Year" automatically as from date (datum) I am getting allways 1970. Could you pelase help how to do this?
My field called "Datum" and I am inserting a date like: 23.08.2014 (dd.mm.YYYY). On row inserting I want to have 2014 in Jahr.
function Row_Updating($rsold, &$rsnew) {
// Enter your code here
// To cancel, set return value to FALSE
$rsnew["Jahr"]=date('Y',strtotime($rsnew["Datum"]));
return TRUE;
}
mpol_ch