java isodate格式_fmt:formatDate的输出格式详解
发布日期:2021-06-24 14:45:27 浏览次数:2 分类:技术文章

本文共 932 字,大约阅读时间需要 3 分钟。

My JSP 'fmt.jsp' starting page

currency:

percent:


full-->

long-->

medium-->

default-->

short-->

今天是:

现在是:

结果:

今天是:公元 2007年10月19日 星期五

现在是:下午20:04:11.484CST

The input parameters must match the patterns, or the JSP will thrown an exception. This page does no error handling.

Input parameters:

Date: 2004/04/01:13:30:00 Java format: Thu Apr 01 13:30:00 CST 2004

isoDate: 20040531T235959 Java format: Mon May 31 23:59:59 CDT 2004

Dates

Tag Output

Attribute: value; required. Tag has no body.

2004-4-1 13:30:00

2004-5-31 23:59:59

Attribute: type; optional. Indicates what to print: date, time, or both.

2004-4-1

23:59:59

Attribute: dateStyle; optional. Varies the date format.

2004-5-31

04-5-31

2004-5-31

2004年5月31日

2004年5月31日 星期一

Attribute: timeStyle; optional. Varies the time format.

23:59:59

下午11:59

23:59:59

下午11时59分59秒

下午11时59分59秒 CDT

Attribute: pattern; optional. Inidcates date/time custom patterns.

星期四, 四月 1, 2004 13:30:00 -0600

转载地址:https://blog.csdn.net/weixin_33443932/article/details/114742850 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:java16位字符串压缩成8位_在8位UART上发送16位值
下一篇:java解非线性方程组_Scipy - 非线性方程组的所有解

发表评论

最新留言

第一次来,支持一个
[***.219.124.196]2024年04月02日 01时31分47秒