Application Integration
- Application Integration
- All Products
Give me the XQuery expression to extract the first 19 characters for the current date and time
( : Assumption: The current date-time is retrieved using the date:now() function, which returns the current time in milliseconds.: ) ( : Instruction: The date:millisToDate() function is used to convert milliseconds to a date-time format. :) (: The substring() function is used to extract the first 19 characters of the date-time string. : ) substring(xs:string(date:millisToDate(date:now())), 1, 19)