How to display data for a specific month in a table?
问题 I want to know how to display data for a specific month in a table. There is a table with the column [EmployeeId,Date,StartTime,EndTime]. I want to filter by the month of Date, but I don't know how. var AttendanceResult = []; // Select employee number and current month data var query = app.models.AttendanceMaster.newQuery(); query.filters.EmployeeId._equals = userNumber; // Match employee number query.filters.Date._contains = roadMonth; // Including month var records = query.run(); for (var i