datetime (Objet de programmation)
technicalEmbed This Widget
Add the script tag and a data attribute to embed this widget.
<script src="https://cdn.jsdelivr.net/npm/timefyi-embed@1/dist/embed.min.js" defer></script>
<div data-timefyi="glossary" data-slug="datetime"></div>
Embed via iframe for maximum compatibility.
<iframe src="https://timefyi.com/iframe/glossary/datetime/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://timefyi.com/glossary/datetime/
Add a dynamic SVG badge to your README or docs.
[](https://timefyi.com/glossary/datetime/)
Use the native HTML custom element.
<script src="https://cdn.jsdelivr.net/npm/timefyi-embed@1/dist/embed.min.js" defer></script>
<timefyi-glossary slug="datetime"></timefyi-glossary>
Définition
Un type de données de programmation combinant date et heure dans un seul objet. Implémenté dans la plupart des langages (datetime de Python, LocalDateTime de Java, Date de JavaScript). La distinction entre datetime sensible au fuseau horaire et naïf est cruciale.