| |

VerySource

 Forgot password?
 Register
Search
View: 823|Reply: 4

Calculation of dates in VB, for help

[Copy link]

1

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-4 12:50:02
| Show all posts |Read mode
What if I want to get the date 30 days ago? Or what function can I use to get it? Thank you!
Reply

Use magic Report

1

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

 Author| Post time: 2020-1-4 13:24:01
| Show all posts
Khan, get it.
DateAdd ("D", -30, Date) hehe
Reply

Use magic Report

0

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-1-4 17:42:01
| Show all posts
date-30
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-4 18:36:01
| Show all posts
Ha ha
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-6 00:33:01
| Show all posts
Date-30 or Now-30 or dateadd ("d", -30, now) or dateadd ("d", -30, date)
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list