Files
The-Forging/Scripts/Commands/TimeStamp.cs
T
2026-07-07 13:40:15 -04:00

21 lines
605 B
C#
Executable File

using System;
namespace Server.Commands
{
public class TimeStamp
{
public static void Initialize()
{
CommandSystem.Register("TimeStamp", AccessLevel.Player, new CommandEventHandler(CheckTime_OnCommand));
}
[Usage("TimeStamp")]
[Description("Check's Your Servers Current Date And Time")]
public static void CheckTime_OnCommand(CommandEventArgs e)
{
Mobile m = e.Mobile;
DateTime now = DateTime.UtcNow;
m.SendMessage("The Current Date And Time Is " + now + "(EST)");
}
}
}