Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ parse
Function
parse
datetime/parse.ts:47–50 ·
view source on GitHub ↗
(dateString: string, formatString: string)
Source
from the content-addressed store, hash-verified
45
* ```
46
*/
47
export
function
parse(dateString: string, formatString: string): Date {
48
const
formatter =
new
DateTimeFormatter(formatString);
49
return
formatter.parse(dateString);
50
}
Callers
1
parse_test.ts
File · 0.90
Calls
1
parse
Method · 0.95
Tested by
no test coverage detected