473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Using DAYOFWEEK to find the Previous rundate

We have jobs that run Mon. thru Fri., and I am trying to find a way so the if the Current date(Timestamp) is Monday, I need to get the Timestamp for the previous run date, which would be the Friday before.

Is this possible?
Nov 7 '16 #1
0 1692

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ori :) | last post by:
I am writing an application to retrieve appointments from Outlook, I have the appointment items sorted by "Start" field and now I want to find the first record which's "Start" value is later than...
0
by: Rave | last post by:
This is a long shot, but I thought I'd try it. I am currently using excel as an inventory tool. I currently have a hand-held scanner plugged into a laptop for reading barcodes. Using the "Find and...
8
by: brekehan | last post by:
If I have a class MyClass { ...bunch o data and methods int x; }; and a stl container of MyClass objects Is there a way to use std::find to get all the elements whose member x
0
by: gurusshetty | last post by:
Hi Is there any way to find previous value of data column or text in c#. Regards, Guru
17
by: denakaraj | last post by:
Hi Everyone I am new to this forum I need a help in VB i need a code for Find previous option I am having one RichTextBox and two Command buttons in the Form I have done the code for Find Next...
1
by: MiziaQ | last post by:
Hi, I'm working on a project and can't figure out how to use the 'next' and 'previous' button commands to switch between different tabs. All the tabs have a single name SSTab1, and so I cannot...
2
by: sudhaMurugesan | last post by:
Hi, I need to find the previous date from a given date in java script. Is there any code for it.Can anyone tell me.Thanks in advance
1
by: Lewe22 | last post by:
I need to create a formula which works out the date of the previous monday. I have an entry form which is accepting amongst others a date from a user. I then want it to check to see if an entry...
2
by: AccessHunter | last post by:
I have a query that has the following fields/data, ID, Seq, EDate, TDate; 3228, 1, 6/30/2008, 8/7/2008 3228, 1, 6/30/2008, 6/18/2008 3228, 1, 6/30/2008, 3/22/2005 3228, 1, 6/30/2008,...
11
Mary Seelye
by: Mary Seelye | last post by:
This is what I have so far - I cannot get my next link to work, but my previous link works after you change the pic by clicking on it. I'd like to take the "onclick" out and just use the next and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.