fri

Private

Content

34 lines
{delete}
{=(em1):<:YOsArrowR4:1343258304134250579>}
{=(cdday):Friday}
{=(comment):Desired countdown day - capitalized English}

{=(cdtime):21:00}
{=(comment):Desired countdown time - 24h format (HH:MM, 00:00-23:59)}

{=(offset):-5}
{=(comment):Desired timezone UTC offset}

{=(format):24h}
{=(comment):Desired time format display}

{=(12hformat):{strf(2020-01-01 {cdtime}:00):%I:%M %p}}
{=(comment):Performs the optional 12h format conversion.}

{=(osunix):{m:trunc({unix}+({offset}*3600))}}
{=(currentdayepoch):{m:trunc({strf({strf({osunix}):%F} {cdtime}:{strf({osunix}):%S}):%s}+({offset}*-3600))}}

{=(day):86400}
{=(weekday):{strf({m:trunc({osunix}+({day}*0))}):%A} {strf({m:trunc({osunix}+({day}*1))}):%A} {strf({m:trunc({osunix}+({day}*2))}):%A} {strf({m:trunc({osunix}+({day}*3))}):%A} {strf({m:trunc({osunix}+({day}*4))}):%A} {strf({m:trunc({osunix}+({day}*5))}):%A} {strf({m:trunc({osunix}+({day}*6))}):%A}}
{=(indexday):{index({cdday}):{weekday}}}

{=(cddayepoch):{strf({m:trunc({currentdayepoch}+({indexday}*{day}))}):%s}}
{=(output):td:{strf({if({unix}<={cddayepoch}):{cddayepoch}|{m:trunc({cddayepoch}+({day}*7))}}):%F %T}}

{=(output):{if({unix}<={cddayepoch}):{cddayepoch}|{m:trunc({cddayepoch}+({day}*7))}}}

{=(desc):{em1} <t:{output}:f>
{em1} <t:{output}:R>}

{=(today):{strf({currentdayepoch}):%A 
%F %T}}

Embed

1 line
{"color": 3092790, "fields": [{"name": "", "value": "{strf({osunix}):%A\n%F\n%T}", "inline": false}], "description": "{desc}"}
Raw JSON
{
  "id": 2238637,
  "created_at": "2025-03-19T04:14:53.000Z",
  "tag_name": "fri",
  "nsfw": false,
  "owner_id": "935523589640310854",
  "uses": 13,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1000287735329853460",
  "sharer": "935523589640310854",
  "content": "{delete}\n{=(em1):<:YOsArrowR4:1343258304134250579>}\n{=(cdday):Friday}\n{=(comment):Desired countdown day - capitalized English}\n\n{=(cdtime):21:00}\n{=(comment):Desired countdown time - 24h format (HH:MM, 00:00-23:59)}\n\n{=(offset):-5}\n{=(comment):Desired timezone UTC offset}\n\n{=(format):24h}\n{=(comment):Desired time format display}\n\n{=(12hformat):{strf(2020-01-01 {cdtime}:00):%I:%M %p}}\n{=(comment):Performs the optional 12h format conversion.}\n\n{=(osunix):{m:trunc({unix}+({offset}*3600))}}\n{=(currentdayepoch):{m:trunc({strf({strf({osunix}):%F} {cdtime}:{strf({osunix}):%S}):%s}+({offset}*-3600))}}\n\n{=(day):86400}\n{=(weekday):{strf({m:trunc({osunix}+({day}*0))}):%A} {strf({m:trunc({osunix}+({day}*1))}):%A} {strf({m:trunc({osunix}+({day}*2))}):%A} {strf({m:trunc({osunix}+({day}*3))}):%A} {strf({m:trunc({osunix}+({day}*4))}):%A} {strf({m:trunc({osunix}+({day}*5))}):%A} {strf({m:trunc({osunix}+({day}*6))}):%A}}\n{=(indexday):{index({cdday}):{weekday}}}\n\n{=(cddayepoch):{strf({m:trunc({currentdayepoch}+({indexday}*{day}))}):%s}}\n{=(output):td:{strf({if({unix}<={cddayepoch}):{cddayepoch}|{m:trunc({cddayepoch}+({day}*7))}}):%F %T}}\n\n{=(output):{if({unix}<={cddayepoch}):{cddayepoch}|{m:trunc({cddayepoch}+({day}*7))}}}\n\n{=(desc):{em1} <t:{output}:f>\n{em1} <t:{output}:R>}\n\n{=(today):{strf({currentdayepoch}):%A \n%F %T}}",
  "embed": "{\"color\": 3092790, \"fields\": [{\"name\": \"\", \"value\": \"{strf({osunix}):%A\\n%F\\n%T}\", \"inline\": false}], \"description\": \"{desc}\"}",
  "last_fetched": "2026-10-20T19:53:40.776Z"
}