o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

How to determine if pass end of the month -

I have a program that is keeping a history of files in an access table. And every month I need to purge the table. There is a file for each day of the month.

How can I tell at run time if the current date is in a new month or still in the same month as the history files.

Example Nov. 1-31 on Dec. 1 purge all day in table and continue on with processing until next month.


Thanks

 

How to determine if pass end of the month -
I have a program that is keeping a history of files in an access table. And every month I need to purge the table. There is a file for each day of the month. How can I tell at run time if the current date is in a new month or still in the same month as the history files. Example


How do I determine which month a week belongs to -
Can I determine which month a week belongs to ? of course it's possible, but I would like to know how say that I would like to know in which month week 44 is in, how do I get the correct month ? Im going to have almost every week of a year and since this will be a script that run


Date part problem -
I want to determine the week number in a month. VB has DatePart which can determine the week number in a year. Eg: 28th March 2005 will be detected as week #14. But in month of March, it is week#4. So instead of week number in a year, can VB determine week number in a month? User


Last Day of the Month -
Is there a way to determine the Last day of month or How many days are there in a month? Like for example January, it ends with 31 and February is 28 or 29. Kindly help me with this?


Determine Months -
I am writing a small payment plan program. One of my options would be a monthly plan. ex. every 5th of each month. How do I determine the xth of each month since some months have a defferent number of days in them?


determine day..help needed -
hi to all... I need to know how to determine what is the day of certain date in a month. for example, how do I determine what day is it on Jan 01 2005. Can anyone please help me?


determine last day of the month -
Is there a function to determine the last day of the month?


How to determine date group if more than 1 date range -
Hi all, Please refer to the attchment enclosed here. i have a table of data which consists of many date. From the date, i will refer the CLOSING table (which attached here) to determine the month for all the date. I cannot pick the month based on normal format(date) because of the


vbLastDayofMonth -
Is there a function that will return the last day of the month for whatever month you pass it or do I have to create my own? In other words, if a user wants to see all calibrations for December, I need to grab all calibrations from the first until the last day of the month... which


Casting date..is it necessary -
I have code [that is working] but I am not sure if it is written 'correct', and I don't really want it to blow up in my face later. Is it fine as it is, or do I need to do something else? What I need to do is determine the length of the month to see if I need to append a 0 or not.


RESOLVED!!!!!Report formula -
Can u pass to me the Month-to-date and Year-to-date Code .. i have a report which i want to create to it more additional fields that show month to date and year to date tracking?... but i donno the code . suppose that i have all the transaction which had occured in the (choos


Crystal reports - create by Date -
I need a way to pass a date parameter from a VB program to a crystal report objext so the crystal report will generate a report based on the month pased. For example: The vb Program will pass a month parameter to the CR object then create a report of all transaction for that month.


Resolved* Dates. Add 1 month -
How do I add 1 month to the current date. i.e. i have a date, then i want that date + 1 month, then add another month taking into account the rollover after month 12 and the year incrementing. The reason I want this is because I want to select all records in one month */05/03 fo


Determining Days in a Month -
Is there a VB function that can determine how many days are in each month? If not, anyone know of a routine that will calculate this? Thanks, Blake


Easy Question - days of a month -
hi i want a function to determine how many days are in a given month?


Question about Months.. -
Hello again.. I am trying to figure out how to get the first day of the month(Monday,Tuesday,etc).. Not the current month but like next month, or the month before.. Is there a way I could get the first day of the month using they abbr. of the month? Ie: "Aug", or something? T


Display day of week from date -
I have a list of dates in the following format: 14/Jun/2003 18/Jul/2003 09/May/2003 ... This list will keep continuing to grow so it can not be hard coded. I would like to be able to determine from this date format what the day of the week it is (Mon, Tues, Wed, etc...). Is t


Making a chart using accumulated values (by myself) -
Hi, there! I'm in trouble about that... I need to make an chart (line chart) using data from an Access' Table and Crystal 8, but it must show "progressive values"... Example: Month 01 - $1,000.00 Month 02 - $900.00 Month 03 - $2,000.0


Zeller's Congruence help please -
I don't even know how to start building this program this is what I have to do: Allow the user to enter a month. An example for calculation purposes, January = 1. Allow the user to enter a day of the month (1-31) and lastly let them enter a 4 digit year I have to take this info


VB Dateformat -
Hi Im doing a vb.net application. anyone knows how to change to date format taken from a calendar to : '21-APR-2003' (dd-mon-yyyy) This format is need to pass into a oracle stored procedure. One method is to hardcode all the month by checking if the month is 01 = J


1 more.. Ref all code to one source -
I have 20+ .exe programs. They all launch another app..... That app requires a login and pass. What can I place in all the programs so they look to one file for the login and pass? The pass changes on the app every month and I don't want to change all the programs ever time...??


creating a date range for a monthly report -
Hi, i need to create a date range for a monthly report in this manner: From the application, the user will select the month then pass the parameter to the report. it should display the range of the selected month sideways. so it should look like this: Month 1 | 2 | 3


Using TimeOfDay to determine shift -
Hey all. I'm still very green with .Net after having to convert from VB6 earlier this month. I have an app that I need to determine if the TimeOfDay is between certain times and then assign a shift number based on where the time of day falls. I know it's just a simple If statement b


Running Weekly, monthly reports automatically -
Hi all, I got a little problem. I have an application that i would like to generate reports on it's own without any user intervention. I need to be able to have it determine days, weeks and months in calendar format. for week reports i'll need the app to start every monday


crystal report-group using date into months -
I have a table which consists of a date, and and an ID. I have to prepare a report where the rows are counted for each month and it should display the relevant value for the relevant month for the selected year. It should look something like this:sort of an analysis of every month.


Week Number -
How to determine the week number is the current month ? I'd like to know for example if this week is the first, second, third... of the current month? Thanks for your help )


plssssssss help -
hi I don't know much abt data reports. I am passing month(in number) as a parameter to the command object...month in numbers cause i need it for calculation purpose but in the report at one place i need to display the month name.. now my question is ,is it possible to write a code


returning an array - syntax (i think) -
hi, i have a function: Public Function AssignMonths() As String() Dim Month(12) As String Month(0) = "Jan" Month(1) = "Feb" Month(2) = "Mar" Month(3) = "Apr" Month(4) = "May" Month(5) = "J


Not good with dates, need last month, next month values -
I need a function(s) that will generate "next month" and "previous month" in MMM/YYYY format based a supplied date. For example, for Jun/1/2006, next month = "July/2006", previous month = "May/2006". Basically just need to add or subtract 1


Code to get the month as a number ,etc.. -
Hai experts , in a situation where the date/month/year is directly got from the system date settings.i need to get the start &end dates of a paticular month , along with the number of weeks in that month (the month number should also be displayed ie: january ---1 ,feb---2).can


Need a Date Function... -
This is an odd one, i cant seem to get my head on right for this..... I have a Access table with codes and a "day" the day is the month day that a bill is sent... like 2 4 12 25 28 29 30 etc I need to make this into a date that is within the last 30 days f


imput date to determine day of the week -
Alert! Damsel in distress! I'm having trouble with this someone please help me! This is the whole project - very confusing - any help? Perpetual Calendar Project Introduction The Gregorian calendar was introduced in 1582. You are being asked to write a program wh


Date Validation And Month -
please some one tell me how to know that the date entered in a Textbox is valid or not. i m using this format 3/08/2008 next question is how to know how many days are there in a given month and how to start a next month when we close the current month


Help with SQL statement Please -
I've gone brain dead please help I have a table calles weeks with the following fields Month,Month Start,Month End, Year Month is set as text type while all the others are set as Integer Type. I'm trying to extract the month where a variable called wks (integer type) is >


You know the best way -
what is the best way to store records which i'll be not using oftenly? example i'll be transacting for this month so in my table only records of this month should be there after this month i want to store the datas in different place, so that for the next month there are only reco


[02/03] Comparing values -
I am doing the month calendar objects on one form and i save the date to the registry. I do this by creating the subkey and in that key I create a value and I pass the date from the month calendar control by doing monthCalendar.SelectionStart. This puts the date value into the regist


Find Last date of month -
Hello I am doing an Invoice program that will Invoice for example from 01/07/07 (dd/mm/yy) to the 31/07/07 (dd/mm/yy) I can then to a date add to get the next month but what if there is only 29 days in the current month, a date add will take me to the 29th of the next month when


PHP - Snafu **Resolved** -
this stuff has got me F.U.B.A.R. OK, I'm trying to get php to exec. a file based on the month, I can get php to determine the month ok but when I try to include the file I want I just get the text in my .php file when I view the source in IE can some one please help? I've incl


Finding last day of the month... *RESOLVED* -
This is probably mind-numbingly simple, but I'm stumped... I'm writing a program that needs to know the last day of the month for the given date. I need a function that I can pass in any date (e.g. 10-15-2002) and get the last day of the month (e.g. 10-31-2002). Any ideas? Thank


if statements to test for third Wed of the month & third Thurs. of the month -
hello, what would be the VB6 code for an if statement that would check for if it's the third wednesday of the month and execute some code based on that. Also would would be the similar code for if it's the third thursday of the month? thanks in advance, david