Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dateandtimecalculationscripts [2021/07/25 16:06] wikiadmin [Get the Current Local Time] |
dateandtimecalculationscripts [2021/07/25 16:14] (current) wikiadmin [Get the Current Local Time] |
||
---|---|---|---|
Line 24: | Line 24: | ||
==== Get the Current Local Time ==== | ==== Get the Current Local Time ==== | ||
- | For log4j logging, use a date formatter in the appender, for example: | + | For log4j logging, use a date formatter |
+ | <code xml> | ||
+ | <layout class=" | ||
+ | <param name=" | ||
+ | </ | ||
+ | </ | ||
Line 36: | Line 40: | ||
| | ||
| | ||
- | < | + | </code> |