Skip to main content
Commonmark migration
Source Link

#PowerShell, 70 63 55 53 Bytes

PowerShell, 70 63 55 53 Bytes

Excluded double quotes, easy -2 thanks to @Joey

for(){cls;(date 31Mar19)-(date)|% T* ddd\:hh\:mm\:ss}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* ddd\:hh\:mm\:ss;sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

#PowerShell, 70 63 55 53 Bytes

Excluded double quotes, easy -2 thanks to @Joey

for(){cls;(date 31Mar19)-(date)|% T* ddd\:hh\:mm\:ss}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* ddd\:hh\:mm\:ss;sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

PowerShell, 70 63 55 53 Bytes

Excluded double quotes, easy -2 thanks to @Joey

for(){cls;(date 31Mar19)-(date)|% T* ddd\:hh\:mm\:ss}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* ddd\:hh\:mm\:ss;sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

added 10 characters in body
Source Link
colsw
  • 3.4k
  • 3
  • 14
  • 24

#PowerShell, 70 63 5555 53 Bytes

Excluded double quotes, easy -2 thanks to @Joey

for(){cls;(date 31Mar19)-(date)|% T* "ddd\ddd\:hh\:mm\:ss"ss}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* "ddd\:hh\:mm\:ss";sleep 1}

previous 70 bytes

for(){cls;((date 31/3/19)-(date)).ToString("ddd\ddd\:hh\:mm\:ss");sleepss;sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

#PowerShell, 70 63 55 Bytes

for(){cls;(date 31Mar19)-(date)|% T* "ddd\:hh\:mm\:ss"}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* "ddd\:hh\:mm\:ss";sleep 1}

previous 70 bytes

for(){cls;((date 31/3/19)-(date)).ToString("ddd\:hh\:mm\:ss");sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

#PowerShell, 70 63 55 53 Bytes

Excluded double quotes, easy -2 thanks to @Joey

for(){cls;(date 31Mar19)-(date)|% T* ddd\:hh\:mm\:ss}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* ddd\:hh\:mm\:ss;sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

edited body
Source Link
colsw
  • 3.4k
  • 3
  • 14
  • 24

#PowerShell, 70 63 55 Bytes

for(){cls;(date 31/3/1931Mar19)-(date)|% T* "ddd\:hh\:mm\:ss"}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* "ddd\:hh\:mm\:ss";sleep 1}

previous 70 bytes

for(){cls;((date 31/3/19)-(date)).ToString("ddd\:hh\:mm\:ss");sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

#PowerShell, 70 63 55 Bytes

for(){cls;(date 31/3/19)-(date)|% T* "ddd\:hh\:mm\:ss"}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* "ddd\:hh\:mm\:ss";sleep 1}

previous 70 bytes

for(){cls;((date 31/3/19)-(date)).ToString("ddd\:hh\:mm\:ss");sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

#PowerShell, 70 63 55 Bytes

for(){cls;(date 31Mar19)-(date)|% T* "ddd\:hh\:mm\:ss"}

Running this with sleep adds 8 bytes, but the input is mostly invisible if it is run without them, version (63 bytes) with sleep:

for(){cls;(date 31/3/19)-(date)|% T* "ddd\:hh\:mm\:ss";sleep 1}

previous 70 bytes

for(){cls;((date 31/3/19)-(date)).ToString("ddd\:hh\:mm\:ss");sleep 1}

for() is an infinite loop, and within that loop..

cls to clear the screen,

get 31/3/19 as a DateTime object, and - the current date from it, to give the time remaining, then .ToString() (|% T*) that with the correct format.

this will display negative time after brexit.

deleted 165 characters in body
Source Link
colsw
  • 3.4k
  • 3
  • 14
  • 24
Loading
added 186 characters in body
Source Link
colsw
  • 3.4k
  • 3
  • 14
  • 24
Loading
added 102 characters in body
Source Link
colsw
  • 3.4k
  • 3
  • 14
  • 24
Loading
Source Link
colsw
  • 3.4k
  • 3
  • 14
  • 24
Loading