I have a requirement where I need to format the dateTime value received from MySql db to UTC time in using Mule 4 Dataweave. Example: i/p: 2021-01-20 00:00:00.0 expected o/p: 2021-01-20T00:00:00.000Z.
convert MYSQL date time format to UTC time format in Mule 4
632 Views Asked by akj At
1
There are 1 best solutions below
Related Questions in MULE
- What is the relation of numberOfConcurrentTransactedReceivers with the number of threads mule spawns
- Mule 3.6 Custom Java Class
- How can I access Mule ESB Community edition via browser?
- Mule ESB Community Standalone Runtime
- Invalid Keystore Format when trying to deploy Mule project
- Custom Converter with log4j2 and Mule not working
- Getting Error While Using HTTP on Mule ESB canvas
- Which mule transports does the re-connection strategy work with
- When does the VM transport actually persist messages ? and also a peek into HA and VM transport
- Can I read or update dynamically the multiple Mule app properties without reloading or restarting?
- Mule: Migrating to the New HTTP Connector
- Where can I download MuleSoft Community Edition?
- Revoking OAuth tokens in Mule
- LDAP Search json output
- Basic JSON formatting using Mule Expression Language
Related Questions in DATETIME-FORMAT
- What is the correct DateTime format in WebSQL to perform date comparison queries?
- MYSQL comparing time and day of week simultaneously
- How to remove mili seconds from '0' date formatting
- php date->foramt() return object instead of string
- Select from Oracle table, date time value?
- Matlab : datestr predefined date formats ISO8601
- Merging two columns into a single column and formatting the content to form an accurate date-time format in Hive?
- How to change DateTime model field representation in serializer?
- How to format the given time string and convert to date/time object
- Plot two files in gnuplot with different timefmt
- SimpleDateFormat.parse(String) gives null value android
- Conversion of Python DateTime string into integer milliseconds
- Convert string to MM/yyyy in c# to sort
- Retrieve Date information from table with Timestamp and convert into 24hr format string
- Formatting date using moment.js using locale rather than explicit format
Related Questions in DATAWEAVE
- How to map CSV fields to a JSON list?
- Cannot coerce a:array to an a:object in mule dataweave
- Convert ByteArraySeekableStream back to JSON in Mule
- Need to prevent dw-buffer-122.temp (storing inside machine Temp folder) creation while running mule application?
- Mule - data weave throwing error during munit test, error is There are two transformers that are an exact match for input
- Mule JSON - how to transform key value pairs to a list
- How the Dwl code be altered to manipulate with empty spaces to match desired length?
- Dataweave standard and interoperability
- How do I build up a payload in Mule?
- Mule (Dataweave) transform JSON array to string
- CSV metadata types disappear in Anypoint Studio
- how to merge two Json based on key value in Mule
- Mule - finding the sum of the values of xml elements
- How to groupby using Dataweave
- How to convert list hashmap into Array using Dataweave
Related Questions in MYSQL-DATE
- Retrieve MySql Records Within a Specific Month but Less than the current year and Less than the current Day
- MySQL server stuck when use CONVERT_TZ
- convert MYSQL date time format to UTC time format in Mule 4
- How to use LAST_DAY() in MySQL so index advantage is not lost?
- cannot insert datetime field with stored procedure into mysql database
- MySql datetime format change
- Date format error while inserting values from CSV file into database using python
- how to find out time difference (on day) for every transaction on each users using mysql
- How can I search a column in MySQL containing unix timestamps?
- How to load last 7 days into a string(list)
- MySQL - Comparing dayname of two queries
- MySQL modifies the date I insert
- Dealing with Dates in MySQL. Total number of different projects completed
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
What you receive from the Mulesoft Database connector is a Java SQL Date object, not a String, unless the query formats it on the DB. If you want a string representation of it, you need to format it using something like this: