I have the date format string dd-mm-yy. Please can you tell me how to add hours and minutes to the string (i.e 13-03-2010.21.03) ....
DateTime.Today.ToString("dd-mm-yy") ?
I have this varchar format as time accumulation and i want to convert it to an integer to do a SUM and get the total time for a group. The fist part which may be 1, 2, 3, 4 or even five digits represent the accumulation of Hours and then seperated by a colon. then come the second part which is accumulation of minutes and last accumulation of…
Hi guys,
I try to export excel file with some format like:
Interior.Color
HorizontalAlignment
Font.Bold
and etc..
So the question is, can we do like that is SSIS..
and how to do it?
I have a string value coming from a label in the .aspx page as following.
string text = Price.Text; // Price.Text = "$31.07"
Single value = Convert.ToSingle(text); //throws FormatException
I can replace the $ sign with the empty text and then Convert to Single but I was wondering if there is better way to de-format the text with the '$'…
href="http://www.torontolife.com/daily/daily-dish/restauranto/2010/03/10/best-new-restaurants-2010-james-chatto-names-five-honourable-mentions/"Best new restaurants 2010: honourable mentions
is django has built in mechanism to format links above
i mean words joined with hypens
how can achieve this ?
Why does socket.inet_aton returns packed format in python?
If I am storing the IP as integer in Database (mysql), do I have to always extract the integer value or is there any easier way out?
Is there a way in .NET 2.0 (C#) to serialize object like you do using XmlSerializer in a simple / customizable human readable format thats for instance looks like PXLS or JSON?
Also I know that XML is human readable, I'm looking for something with less annoying redundancy, something that you can output to the console as a result for the…
Hi All,
I have date as 31.03.2010 in german ofcourse 31 is date,03 is month and 2010 is year. Now I want to display the date as per the selected datetime format for the browser, say is user has german for him I would display 31.03.2010 whereas for English I would display 03/31/2010.
Any Idea how this can be done?
I used TextConverter to convert a TextFlow in Flex to String to store it in my Database. How to convert that string back to TextFlow in order to display in Rich Text format
Can someone advise me open source format conversion library? Optimized for SSE, SSE2.
Formats for conversion: I420, YUY2, RGB(16-bit, 32-bit).
I found only VirtualDub Kasumi library.
I have a lot lines contains XXXXXXXXX number format. I want change number XXXXXXXXX to XX.XXX.XXX.X
XXXXXXXXX = 9 digit random number
Anyone can help me? Thanks in advance
I am working with DateTime, trying to get date in the format like this:
03.05.2010-04.05.23 that is: dd.MM.yyyy-HH.mm.ss
I'm using DateTime.ParseExact to try to achieve this (maybe wrong)
So far I have:
var dateInFormat = DateTime.ParseExact(DateTime.Now.ToShortDateString(), "dd.MM.yyyy.HH.mm.ss", null);
But can't quite get…
Hi,
Any one help to to get the extract value from the java script date time utc format. I am using a C# web method which is returning a date and i have to set that date with Timezone.
Thanks
I want to convert an int to a string but if it is a single digit I want to add a leading 0
Is that one of the built in format options? or do I have to do it manually?
Hey guys,
I've seen URL's like this around and I'm just wondering how it is they are used.
Until now I've been using www.mysite.com/users/?id=33
How can I use the other format?
can any one please let me know, i need to set the "Total Price" value to be in two decimal point value like "56.35". Now its showing more fraction values like "56.3566666". I need it to be format it by musql "SELECT" query.
Is there any equivalent of the VS7/8/9/10 Edit - Advanced - Format Document (Ctrl+K,Ctrl+D) function in Visual Studio 6 (specifically VB6)?
I've inherited an old codebase and it is messy in places so I'd like to tidy it up.
Hi,
I have an application build on my x64 computer. It is now build for x86 but on windows XP machines (x86) it fails with the "bad image format". On all Vista and up OS, it runs perfectly on x64 platfomrms. I tracked the problem to my icon.
I removed the icon and now it runs fine, anyone got an idea of how on earth this could…
Is there any equivalent of the VS7/8/9/10 Edit - Advanced - Format Document (Ctrl+K,Ctrl+D) function in the Visual Basic 6 IDE?
I've inherited an old codebase and it is messy in places so I'd like to tidy it up.
Hey guys,
I have a load of signatures I wish to compare (all in ISF - ink serialized format).
Does anyone know how to compare these signatures?
Thanks in advance
I have some text files previously formatted in vim using "gggqG". Now I need to convert them to one line per paragraph format. I saw a way(using :g command) to do that before, but I have forgot it. Anyone knows?