cotrTypesDate
The Dart DateTime type.
Aliases:
- cotrTypesDate
- dateType
- typeDate
- timeType
- timestampType
- dateTimeType
cpp
#include <chrono>
std::chrono::system_clock::time_point
csharp
DateTime
dart
DateTime
go
time.Time
haskell
-- Haskell does not have a built-in Date type. Use the 'time' package for date and time operations.
java
import java.time.LocalDate;
javascript
Date
javascriptreact
Date
kotlin
import java.time.LocalDate
perl
use DateTime
php
DateTime
powershell
[datetime]
python
from datetime import datetime
r
Date
ruby
require 'date'
Date
rust
// Rust does not have a built-in Date type.// Use the chrono crate for date and time operations.use chrono::{DateTime, Utc};
scala
// Scala does not have a built-in Date type. Use the java.time package or libraries like ScalaTime for date and time operations.
shellscript
# Bash doesn't have a dedicated date type, but you can use the 'date' command for date manipulation.
swift
Date
typescript
Date
typescriptreact
Date