Skip to content

Instantly share code, notes, and snippets.

@greimel
Created January 2, 2023 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greimel/e4f87e0f7162ddb5bbf5aac7ed477867 to your computer and use it in GitHub Desktop.
Save greimel/e4f87e0f7162ddb5bbf5aac7ed477867 to your computer and use it in GitHub Desktop.
### A Pluto.jl notebook ###
# v0.19.15
using Markdown
using InteractiveUtils
# ╔═╡ 2af94a73-953b-4e45-9b09-e6e95bb7eced
using Dates
# ╔═╡ cbc821e3-e405-4479-9284-119f6382e6b0
str = "2020-01-01"
# ╔═╡ b00ac4f6-802a-4522-a229-8cb0a1533929
ano = (x -> Date(x))
# ╔═╡ f17b22ac-a434-445f-9317-33f9837cc6c8
ano(str)
# ╔═╡ b0e88c80-66ec-4247-8efb-8c570d5688a6
Date(str)
# ╔═╡ 00000000-0000-0000-0000-000000000001
PLUTO_PROJECT_TOML_CONTENTS = """
[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
"""
# ╔═╡ 00000000-0000-0000-0000-000000000002
PLUTO_MANIFEST_TOML_CONTENTS = """
# This file is machine-generated - editing it directly is not advised
julia_version = "1.9.0-beta2"
manifest_format = "2.0"
project_hash = "d7cd76e304b32b583eb96a7ac19153dc0f2d1730"
[[deps.Dates]]
deps = ["Printf"]
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
[[deps.Printf]]
deps = ["Unicode"]
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
[[deps.Unicode]]
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
"""
# ╔═╡ Cell order:
# ╠═cbc821e3-e405-4479-9284-119f6382e6b0
# ╠═b00ac4f6-802a-4522-a229-8cb0a1533929
# ╠═f17b22ac-a434-445f-9317-33f9837cc6c8
# ╠═b0e88c80-66ec-4247-8efb-8c570d5688a6
# ╠═2af94a73-953b-4e45-9b09-e6e95bb7eced
# ╟─00000000-0000-0000-0000-000000000001
# ╟─00000000-0000-0000-0000-000000000002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment