September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
12
Task/Show-the-epoch/Kotlin/show-the-epoch.kotlin
Normal file
12
Task/Show-the-epoch/Kotlin/show-the-epoch.kotlin
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// version 1.1.2
|
||||
|
||||
import java.util.Date
|
||||
import java.util.TimeZone
|
||||
import java.text.DateFormat
|
||||
|
||||
fun main( args: Array<String>) {
|
||||
val epoch = Date(0)
|
||||
val format = DateFormat.getDateTimeInstance()
|
||||
format.timeZone = TimeZone.getTimeZone("UTC")
|
||||
println(format.format(epoch))
|
||||
}
|
||||
4
Task/Show-the-epoch/Phix/show-the-epoch.phix
Normal file
4
Task/Show-the-epoch/Phix/show-the-epoch.phix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
constant d0 = {0,1,1,0,0,0,1,1}
|
||||
include builtins\timedate.e
|
||||
?format_timedate(d0,"YYYY-MM-DD")
|
||||
?format_timedate(d0,"Dddd, Mmmm d, YYYY")
|
||||
1
Task/Show-the-epoch/PowerShell/show-the-epoch-2.psh
Normal file
1
Task/Show-the-epoch/PowerShell/show-the-epoch-2.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
Get-Date -Year 1 -Month 1 -Day 1 -Hour 0 -Minute 0 -Second 0 -Millisecond 0
|
||||
1
Task/Show-the-epoch/PowerShell/show-the-epoch-3.psh
Normal file
1
Task/Show-the-epoch/PowerShell/show-the-epoch-3.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
New-Object -TypeName System.DateTime
|
||||
1
Task/Show-the-epoch/PowerShell/show-the-epoch-4.psh
Normal file
1
Task/Show-the-epoch/PowerShell/show-the-epoch-4.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
New-Object -TypeName System.DateTime -ArgumentList 1, 1, 1, 0, 0, 0, ([DateTimeKind]::Utc) | Format-List
|
||||
2
Task/Show-the-epoch/Zkl/show-the-epoch.zkl
Normal file
2
Task/Show-the-epoch/Zkl/show-the-epoch.zkl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
zkl: Time.Clock.tickToTock(0,False)
|
||||
L(1970,1,1,0,0,0) // y,m,d, h,m,s
|
||||
Loading…
Add table
Add a link
Reference in a new issue