0
Update Value Boxes based on Time/Date
Forum / Questions & Answers
I have an application that will show current line conditions/settings and whether they are running in spec. We want to add a way to pick a time/date so we can see all those line conditions on a certain day/app on the app. Is there an easy way to do this, or would that require scripting with the date time picker?
2 replies
-
Hi ,
This script will update a ValueBox using the DateTime Picker.
public void DateTimePicker1_OnDateTimeChange(object sender, DateTime dateTime)
{
string startTime = dateTime.ToString("o");
ValueBox1.AggregateStartTime = startTime;
}