Files
The-Forging/Scripts/Commands/TimeStamp.cs
T

21 lines
602 B
C#
Raw Normal View History

2026-06-19 00:00:16 -04:00
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.Now;
m.SendMessage("The Current Date And Time Is " + now + "(EST)");
}
}
}