Creating a menu window like gold in RMVX Ace

Hi all. I'm trying to make a simple window in Ace that shows in the menu to show the time. I'm looking to make a part common event/script day/night system. In the common events, I'll have 3 variables that count minutes, hours and days and the map gets tinted based on hours. But I'd also like the time to be shown in a menu window above the gold window.

It should be like this:

Monday

12 : 00

I don't know how to do this though since I'm a scripting noob and I couldn't find much online or in the help file. I've found this tutorial http://www.rpgrevolution.com/tutorial/the-script-builders%27-tutorials-lesson-1:-basic-windows_265.html that seems to work although it's for XP, but as I said I'd like it to show up only in the menu when you press ESC on a map.

There is also the Advanced Game Time script that does this, but I'd like a much simpler script that only shows the time.

So, any ideas? Thanks in advance.
You will need to be saving the time to a variable, one for hours, one for minutes (one for seconds, if you are using them).

I'll edit this post when I'm done, and like your original post to let you know it's done.

Edit: I can not seem to get it to actually print out the value of the variables, and I am unsure why. Sorry >.<
Dunno, just an idea: are you using:

self.contents.draw_text(150, 0, 100, 100, $game_variables[1])Edit: Solved this with this small script:

class Scene_Menu < Scene_MenuBase alias time_window_start start def start time_window_start @time_window = Window_Time.new() @time_window.y = @gold_window.y - @time_window.height endend# Window_Time# This class displays the current game time in a window.class Window_Time < Window_Base# Create here your window using your tutorial#--------------------------------------------------------------------------# * Object Initialization #--------------------------------------------------------------------------def initializesuper(0, 0, 160, fitting_height(2))refresh end #--------------------------------------------------------------------------# * Refresh #--------------------------------------------------------------------------def refresh self.contents.clear self.contents.draw_text(0, 0, contents.width, fitting_height(0), $game_variables[21].to_s + ". Day", 1) hour = $game_variables[16] minute = $game_variables[17] if hour < 10 then hour = " " + hour.to_s else hour.to_s end if minute < 10 then minute = "0" + minute.to_s else minute.to_s end self.contents.draw_text(0, 0, contents.width, fitting_height(2), hour.to_s + ":" + minute.to_s, 1) endendThis can be closed.

Original thread: https://forums.rpgmakerweb.com/threads/creating-a-menu-window-like-gold-in-rmvx-ace.11426/