<HTML> <HEAD> <meta charset="UTF-8"> <title>pl.treksoft.kvision.utils.kotlin.js.Date - kvision</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="./index.html">kotlin.js.Date</a><br/> <br/> <h3>Extensions for kotlin.js.Date</h3> <table> <tbody> <tr> <td> <p><a href="to-string-f.html">toStringF</a></p> </td> <td> <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> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "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> </td> </tr> </tbody> </table> </BODY> </HTML>