Skip to main content
summaryrefslogblamecommitdiffstats
blob: 74e190b3d2cd10eee6d5603407f753cd1beb8604 (plain) (tree)
1
2
3
4
5
6




                                                                        
                                                                                      

































                                                                                                    










                                                                                                                                                                               








                                                                      

                                                                                                          






                              
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM Software Development Platform">
<link rel="STYLESHEET" href="../../../book.css" charset="ISO-8859-1" type="text/css"/>
<TITLE>&lt;f:formatNow&gt; - Standard JET2 Format Tags</TITLE>
</HEAD>
<BODY>
<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
	<TBODY>
		<TR>
			<TH align="left">
			<P>&lt;f:formatNow&gt;</P></TH>
			<TH align="right"><A href="overview.html">Standard JET2 Format Tags</A></TH>
		</TR>
	</TBODY>
</TABLE>
<HR>
<P><B>formatNow</B></P>
<P>Formats and writes out the current date and time</P>
<HR>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Tag Summary</TH></TR>
		<TR>
			<TD width="10%">required</TD>
			<TD><SPAN style="font-family: monospace">
			&lt;f:formatNow pattern=&quot;<I>value</I>&quot;/&gt;<br>
			</SPAN></TD>
		</TR>
		<TR>
			<TD width="10%">full tag</TD>
			<TD><SPAN style="font-family: monospace">
			&lt;f:formatNow pattern=&quot;<I>value</I>&quot;/&gt;<br>
			</SPAN></TD>
		</TR>
	</TBODY>
</TABLE>
<HR>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Required Attributes</TH></TR>
		<TR>
			<TD width="10%">pattern</TD>
			<TD>The pattern with which to format the current data and time.  See documentation for the Java class java.util.SimpleDateFormat for more details.</TD>
		</TR>
	</TBODY>
</TABLE>
<HR>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Example</TH></TR>
		<TR>
			<TD width="10%"></TD>
			<TD><SPAN style="font-family: monospace">
<!-- Begin formatNow example -->
			&lt;f:formatNow pattern=&quot;<I>MM/dd/yyyy : EEE</I>&quot; /&gt;<br>
			<P>This formatNow tag would write out a time formatted like "01/29/2006 : Sun"</P>
<!-- End formatNow example -->
</SPAN></TD>
		</TR>
	</TBODY>
</TABLE>
<P></P></BODY>
</HTML>

Back to the top