<HTML> <HEAD> <meta charset="UTF-8"> <title>pl.treksoft.kvision.utils.kotlin.String - 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.String</a><br/> <br/> <h3>Extensions for kotlin.String</h3> <table> <tbody> <tr> <td> <p><a href="to-date-f.html">toDateF</a></p> </td> <td> <code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">.</span><span class="identifier">toDateF</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$toDateF(kotlin.String, 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.js/-date/index.html"><span class="identifier">Date</span></a></code> <p>Extension function to convert String to Date with a given date format.</p> </td> </tr> </tbody> </table> </BODY> </HTML>