aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.utils/kotlin.js.-date/to-string-f.html
blob: 8cc971dbd58811b62c806a7cc8895ba5827a68cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>toStringF - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.utils</a>&nbsp;/&nbsp;<a href="index.html">kotlin.js.Date</a>&nbsp;/&nbsp;<a href="./to-string-f.html">toStringF</a><br/>
<br/>
<h1>toStringF</h1>
<a name="pl.treksoft.kvision.utils$toStringF(kotlin.js.Date, kotlin.String)"></a>
<code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-date/index.html"><span class="identifier">Date</span></a><span class="symbol">.</span><span class="identifier">toStringF</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$toStringF(kotlin.js.Date, kotlin.String)/format">format</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a>&nbsp;<span class="symbol">=</span>&nbsp;"YYYY-MM-DD HH:mm:ss"<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Extension function to convert Date to String with a given date format.</p>
<h3>Parameters</h3>
<p><a name="format"></a>
<code>format</code> - date/time format</p>
<p><strong>Return</strong><br/>
String object</p>
</BODY>
</HTML>