Lua function to get the current date.
◆ 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
-
Source Code
996 {
997 return DateTime.Now.ToString("yyyy-MM-dd");
998 }