date

Privateunrated

Content

31 lines
{=(largs):{lower:{args}}}

{=(DD):{largs(1)}}
{=(Y):{largs(3)}}

{=(offset):5}
{=(hins):3600}
{=(secoffset):{m:round({offset}*{hins})}}

{=(months):jan feb mar apr may jun jul aug sep oct nov dec}
{=(mon):01 02 03 04 05 06 07 08 09 10 11 12}
{=(moni):{index({largs(2)}):{months}}}
{=(monindex):{m:round({moni}+1)}}

{=(monnum):{mon({monindex})}}

{=(monexist):{contains({largs(2)}):{months}}}
{=(MM):{if({monexist}==true):{monnum}|error}}


{=(time):{replace(:, ):{largs(4)}}}
{=(h):{if({largs(5)}==am):{time(1)}|{m:round({time(1)}+12)}}}
{=(m):{time(2)}}

{=(date):{Y}-{MM}-{DD} {h}:{m}:00}
{=(datecalc):{m:round({strf({strf:{date}}):%s}+{secoffset})}}


{date}
{datecalc}
{if(=={args}):<t:{unix}>|<t:{datecalc}>}
Raw JSON
{
  "id": 350095,
  "created_at": "2020-09-28T01:38:55.000Z",
  "tag_name": "date",
  "nsfw": false,
  "owner_id": "508726665199747100",
  "uses": 92,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "680999342475051064",
  "sharer": "508726665199747100",
  "content": "{=(largs):{lower:{args}}}\n\n{=(DD):{largs(1)}}\n{=(Y):{largs(3)}}\n\n{=(offset):5}\n{=(hins):3600}\n{=(secoffset):{m:round({offset}*{hins})}}\n\n{=(months):jan feb mar apr may jun jul aug sep oct nov dec}\n{=(mon):01 02 03 04 05 06 07 08 09 10 11 12}\n{=(moni):{index({largs(2)}):{months}}}\n{=(monindex):{m:round({moni}+1)}}\n\n{=(monnum):{mon({monindex})}}\n\n{=(monexist):{contains({largs(2)}):{months}}}\n{=(MM):{if({monexist}==true):{monnum}|error}}\n\n\n{=(time):{replace(:, ):{largs(4)}}}\n{=(h):{if({largs(5)}==am):{time(1)}|{m:round({time(1)}+12)}}}\n{=(m):{time(2)}}\n\n{=(date):{Y}-{MM}-{DD} {h}:{m}:00}\n{=(datecalc):{m:round({strf({strf:{date}}):%s}+{secoffset})}}\n\n\n{date}\n{datecalc}\n{if(=={args}):<t:{unix}>|<t:{datecalc}>}",
  "embed": "{}",
  "last_fetched": "2026-10-20T22:36:43.501Z"
}