Monday 26 February 2018

DateTimeParse: String to Date/Time

To convert a String attribute containing a date or time text to a Date/Time attribute, use the @DateTimeParse built-in function.

To automatically adjust for number overflow (e.g. 32-Jan), always use 'repair' as its third argument, e.g.:

@DateTimeParse(@Right(@Value(fme_basename),16),%H_%M %d_%m_%Y,repair)

No comments:

Post a Comment

Combine Raster Bands

To combine multiple single-band rasters into a single multi-band raster, use the RasterBandCombiner transformer. For example, combine the ...