public static String dateToString(Date dat){
  SimpleDateFormat fmt=ComponentTime.makeOutputFormatter();
  return (fmt.format(dat));
}

public static String dateToString ( Date dat ) { SimpleDateFormat fmt = ComponentTime . makeOutputFormatter ( ) ; return ( fmt . format ( dat ) ) ; }
convert a java date to a db time string this includes a trailing z for the utc timezone
