How do i get this datetime picker

how do i get this datetime picker?
with format “29/05/2025 03:25:00 AM”
( when i add a datetime property is only allows me to select the date like this “29/05/2025”)

image

[PropertyEditor(“NinjaTrader.Gui.Tools.ChartAnchorTimeEditor”)]
[Display(GroupName=“Settings”, Order=30, Name=“Start Time”)]
public DateTime StartTime
{ get; set; }

You can initialize the default value in State.SetDefaults
For example:

StartTime = new DateTime(Year, Month, Day, Hour, Minute, Second);

2 Likes

Awesome… Thank you :+1: