日期范围的VBScript来自(现在)

编程入门 行业动态 更新时间:2024-10-18 03:22:48
本文介绍了日期范围的VBScript来自(现在)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我对VBScript不太熟悉,只需要在极少数情况下使用它。目前,我正在尝试报告完成日期从今天起至-18个月至-16个月之间的项目。因此,在完成日期中输入的日期将是过去的日期。让我们说我要拉的字段标题为{完成日期}。

I am not too familiar with VBScript and have only needed to use it on rare occasions. Currently, I am trying to report projects that have a Completion Date that falls between -18 months and -16 months from today's date. So the date entered in the Completion Date would be in the past. Let's say the field I am pulling from is titled {Completion Date}.

我遇到了这个,并取代了"AddHours"。用"AddMonths"和"AddMonths"并将结束日期调整为(-16)。

I came across this, and replaced "AddHours" with "AddMonths" and adjusted the end date to (-16).

Code Snippet 推荐答案

Luke,

此论坛适用于VB Net ,而不是VBScript。

This forum is for VB Net, not VBScript.

更多推荐

日期范围的VBScript来自(现在)

本文发布于:2023-11-22 14:45:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1617861.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:日期   VBScript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!