473,406 Members | 2,356 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,406 software developers and data experts.

Convert date to: dd mon yyyy hh:mi(24h)

Hi,
Is it possible to convert date to
dd mon yyyy hh:mi(24h)

Thanks Totto
Aug 25 '06 #1
5 4801
Big H, not little h flips from 12h to 24h

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"Totto" <to**********@losmail.nowrote in message
news:e0****************@TK2MSFTNGP05.phx.gbl...
Hi,
Is it possible to convert date to
dd mon yyyy hh:mi(24h)

Thanks Totto


Aug 25 '06 #2
Hi Gregory,
Is that with Convert() ? What I want is to drop the seconds
Thanks Totto

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:%2****************@TK2MSFTNGP06.phx.gbl...
Big H, not little h flips from 12h to 24h

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"Totto" <to**********@losmail.nowrote in message
news:e0****************@TK2MSFTNGP05.phx.gbl...
>Hi,
Is it possible to convert date to
dd mon yyyy hh:mi(24h)

Thanks Totto



Aug 25 '06 #3
"Totto" <to**********@losmail.nowrote in message
news:Op**************@TK2MSFTNGP06.phx.gbl...
Is that with Convert() ? What I want is to drop the seconds
<DateTime variable>.ToString("dd MMM yyyy HH:mm");
Aug 25 '06 #4
Ops sorry, I'm in the worng group. The question was for SQL Server. Transact
SQL

Totto
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:e5**************@TK2MSFTNGP04.phx.gbl...
"Totto" <to**********@losmail.nowrote in message
news:Op**************@TK2MSFTNGP06.phx.gbl...
>Is that with Convert() ? What I want is to drop the seconds

<DateTime variable>.ToString("dd MMM yyyy HH:mm");

Aug 25 '06 #5
Transact SQL? http://msdn2.microsoft.com/en-us/library/ms187928.aspx

Also in books Online

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"Totto" <to**********@losmail.nowrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
Ops sorry, I'm in the worng group. The question was for SQL Server.
Transact SQL

Totto
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:e5**************@TK2MSFTNGP04.phx.gbl...
>"Totto" <to**********@losmail.nowrote in message
news:Op**************@TK2MSFTNGP06.phx.gbl...
>>Is that with Convert() ? What I want is to drop the seconds

<DateTime variable>.ToString("dd MMM yyyy HH:mm");


Aug 25 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ray via SQLMonster.com | last post by:
Hi there, See if you can help me with the following: I need to write an SQL code that will return me: The 1st day & the Last day of the Previous Month in the following format...
1
by: andreas2410 | last post by:
im trying to convert my column of data type datetime. this is an example of what the data looks like: 2007-01-24 10:01:29.710 i want to format it as so 200701241001 ive tried this so far...
9
by: chromis | last post by:
Hi, I've never coded in ASP before and I'm trying to port a couple of simple PHP files to ASP.NET. The first file addScores.php takes form data and a hash and inserts the data into the db, it...
3
by: PeeS290 | last post by:
Hi all, Where can I find guidelines about programming SQL based applications in VC++ ? Since MS SQL Server 2008 is strongly promoted, I cannot understand why there is no help for developers....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.