RoomService v2.3.1
Loading...
Searching...
No Matches
RoomService.GetCurrentDate Class Reference

Lua function to get the current date.

Member Function Documentation

◆ Implementation()

string RoomService.GetCurrentDate.Implementation ( )
inlineprivate

Usage:

Lua function to get the current date.
Definition RoomServiceLuaFunctions.cs:979
Definition MyPluginInfo.cs:2
Returns
The current date in the format YYYY-MM-DD.
Return values
string

Source Code

996 {
997 return DateTime.Now.ToString("yyyy-MM-dd");
998 }