mIRC Homepage
Posted By: MDBen $gmt - 13/12/02 01:47 AM
Can you like have $gmt work the same as $ctime. I wanna be able to do something like $gmt(3rd August 1987 3:46pm).
Posted By: Dana Re: $gmt - 13/12/02 02:17 AM
For now, you could use something along the lines of ...
Code:
alias gmtc {
  return $calc($ctime($1) + $calc($gmt - $ctime))
}

And have $gmtc(whatever date/time here). I'm not sure if the above will work but you get the idea of what I intended. wink (I hope)
Posted By: Hammer Re: $gmt - 13/12/02 12:54 PM
Also, $timezone = $calc($gmt - $ctime). grin So you could use:
Code:

alias gmtc return $calc($ctime($1) + $timezone)
© mIRC Discussion Forums