Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > Database & Database Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

Database & Database Programming MySQL, Oracle, SQL, PL/SQL, ABAP, Smart Forms, and other databases and languages. A database is an organized body of related information used in many websites (including CC).

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-2007, 07:19 AM
reachpradeep's Avatar   
reachpradeep reachpradeep is offline
Learning Programmer
 
Join Date: Mar 2007
Location: India
Posts: 41
Credits: 0
Rep Power: 6
reachpradeep is on a distinguished road
Send a message via MSN to reachpradeep
Default Calculate Quarterly dates from a Start date

What is the correct way to calculate the next quarterly dates form a given start date

dateadd("q", 1 , StartDate)

using the above it calculates what month the next quarter is in but not the actual date


if my startdate 15/01/2005 (<= dd/mm/yyyy british date)

i would like to calculate the next quartly date from the 15th of jan

would i have to used days 365 then / by 4 to split the year into 4 then use that result to just add days to the startdate to get the next date ?

i.e. quarter (1 year) = 91.25 days
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP Tricks & Tips!!!!..new ones. pranky Tutorials 9 08-23-2008 03:22 PM
PHP:Tutorial The Date John PHP Tutorials 0 01-10-2007 06:10 PM


All times are GMT -5. The time now is 11:21 PM.

Contest Stats

Xav ........ 1276.19
MeTh0Dz|Reb0rn ........ 1048.58
marwex89 ........ 869.98
John ........ 868.39
morefood2001 ........ 868.04
WingedPanther ........ 761.06
Brandon W ........ 684.87
chili5 ........ 294.12
Steve.L ........ 216.18
dargueta ........ 192.86

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 81%

Ads