Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
silstorm #1
Months &Years
I'm trying to create an archive page of links to articles added to a database,
and I would like to group these by months and years. So, for example my first
page would look something like; April 2005 March 2005 February 2005 January
2005 Decemeber 2004 etc etc Now, the code for displaying the pages thereafter
is no problem (as I can obviously use the month and year as a variable to
search the DB for the articles. What I am having a problem with however is how
can I query the database to simply find out months and years that have entries
, ideally omitting any months that don't. Many Thanks in advance Lee
silstorm Guest
-
DateFormatter months language
Hi all, how can you do to change the language the DateFormatter formats month names, when you specify a date format pattern such as "MMM". Even... -
5803 will run one year or 6 months ?
Hi all Vista-Folks , I am running Windows 6.0 Build 5308.winmain_idx01.060223-2145 ( official, activated and genuine and legal ? YES ! ) The... -
Getting List of Months & Years
I'm trying to create an archive page of links to articles added to a database, and I would like to group these by months and years. So, for... -
Table listing of months
I have the following snippet of code: <?php // contents of $monthlyarchivereverse is generated by a different // piece within a content managent... -
.Net: 3 years later...
An interesting article on .Net and what has happened over the last 3 years. A good read. http://www.eweek.com/article2/0,,1184728,00.asp ... -
KevinOtt #2
Re: Months &Years
<cfquery name='GetMonths'> SELECT DISTINCT DATEPART(mm, dteArticle) AS month,
DATEPART(yy, dteArticle) AS year FROM tblArticles </cfquery> The query would
look something like that. When outputting the data you will need to group by
month and perhaps year.
KevinOtt Guest



Reply With Quote

