如何获取所选日期的月份和年份以验证配置的限制 [英] How to get the month and year for selected date to validate limit configured

查看:74
本文介绍了如何获取所选日期的月份和年份以验证配置的限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的列名为填充日期。我想知道我如何获取所选日期的月份和年份,以确认填充数量shud不大于为特定月份和年份配置的限制?

I have column named Filled Date. i want to know how i can fetch the month and year for the selected date for validation of filled quantity shud not be greater than the limit configured for tat particular month and year?

推荐答案

使用DateTime对象,DateTimeVariable.Month和DateTimeVariable.Year将为您提供所需的值,即应用验证。
Use the DateTime object, DateTimeVariable.Month and DateTimeVariable.Year will give you the values all you need to do is apply your validation.


这篇关于如何获取所选日期的月份和年份以验证配置的限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆