i get data from database, in YYYY-mm-dd format, but i want to show just dd.mm (example - i get 2010-05-28, want to show 28.05).
could you help me?
thanks
Hi,
I am developing a list of buttons for a puzzle game where i want to place images on these buttons with good texture on it like what we see just like in twitter format.is it possible to do this? if so how?
Thanks,
I have a file format plugin and everytime I attempt to write to the file in DoWriteStart, the callouts fail.
The Photoshop API is using the windows WriteFile callout which is returning a 0 value. when an attempt to write to the file is made
Hello.
I have a map in Mapinfo format. To open it I use trial version of Mapinfo, but in several days trial period will pass. Are there some free viewers for mapinfo files, or may be there are some coverters?
Time.ToString("0.0") shows up as a decimal "1.5" for instead of 1:30 how can I get it to display in a time format.
private void xTripSeventyMilesRadioButton_CheckedChanged(object sender, EventArgs e)
{
//calculation for the estimated time label
Time = Miles / SeventyMph;
this.xTripEstimateLabel.Visible = true;
this.xTripEstimateLabel.Text = "Driving at this speed the estimated travel time in hours is: " + Time.ToString("0.0") + " hrs";
}
Hi all,
I am using swing framework and applets.
If I take locale as 'en_US',the time shows in AM and PM.
If I take Locale as 'ms_MY',the time shows in Pagi and patang.
I want,
If I take locale as 'ms_MY',the time shows in AM and PM.
How to solve the time format.
please help me
Hi all.., I have number : 1, 2, 3, 4, 10
But I wanna print that number
0001
0002
0003
0004
0010
I have search in google, the keyword is number format. but I've got nothing, I just get, frmat decimal such ass 1,000,000.00. hope you can suggest me a reference or give me some problem solving.
Thanks,
Any smart way to convert a float like this:
float f = 711989.98f;
into a decimal (or double) without loosing precision?
I've tried:
decimal d = (decimal)f;
decimal d1 = (decimal)(Math.Round(f,2));
decimal d2 = Convert.ToDecimal(f);
In the good old days of C. I could cast a float to an int (assuming 32 bit system), do some bit manipluation ( bitwise and, right shift, ect ), and get the upper and lower 16 bit hex representations of the floating point number, which I could then store in two short values. I'm not seeing an easy way of doing this in C#.
System.Convert.ToUInt16 just does a float to int convert (even after I shift right), which leaves a vlaue of 0 if the float is less than 0, which is not the desired effect.
//useless leaves me witg a value 0f 0
UIN16 s1 = (UInt16)((System.Convert.ToUInt32(d2) & 0xffff0000) >> 16); //capture the high word
UInt16 s2 = (UInt16)(System.Convert.ToUInt32(d2) & 0xffff); //capture the low word
A basic cast (UInt32) doesn't work either.
I've seen these questions but both involve methods that aren't available in the CellStyle Format value. I only want to show the hours and minutes portion (16:05); not the seconds as well (16:05:13). I tried forcing the seconds value to zero but still got something like 16:05:00. Short of using a kludge like providing a string or a DateTime (and only showing the hour/minutes part) is there any way I can get the formatting to do what I want.
How to easily change the format of URL in a right way:
/comment/10.js?param1=6
to
/comment/10?param1=6
Preferrably with some URL library or so, not with regexps.
*I have a varchar(1000) column declared as field that contains all numbers, as shown below.
And I want to execute the following script. I need this to work please
Declare @PostalCode varchar(1000)=0
set @PostalCode ='7005036,7004168,7002314,7001188,6998955'
Select hl.* From CountryLocation cl
INNER JOIN refPostalCodes pc ON pc.PostalCode = hl.PostalCode
where pc.Postalcode in (@PostalCode) and pc.notDeleted = 1
Hi all,
i creating an small application in Delphi 2009. here i got problem that when i run my application in WindowsXP its working but it is not working in Windows95. i know the problem that 95 will not support Unicode. if anyone knows the solution please tell me. and also i have one more idea that converting Unicode to ASCII. is it possible please tell how to do that.
Thanks in Advance
Worm Regards,
Yuvaraj
I have a hexadecimal string "41464353". I want to convert it into bytes. I know the value of this hex string in byte will be "65706783". I want this as answer. Please give me a program for this in Java.
How do I retrieve the month from the current date in mm format? (i.e. "05")
This is my current code:
var currentDate = new Date();
var currentMonth = currentDate.getMonth() + 1;
I'm trying to change the value of my checkbox to true based on a another cell's value
if range("A1").value = "green" then
Checkbox1.value= true
end if
How to I change the value property to true for multiple checkbox at the same time
For some reason the code that i've tried doesn't do anything at all.
P.S. I'm using format checkboxes
Hey,
I have two textbox called BIRTH & EMAIL, and I must test in button click if the user has typed a date & email format in those two TextBox.
How can do that ?
How to convert a python string size into pixels.
For Example: If we have a string like
str = "python"
len(str) = 6
So, how to convert the above string length/size into pixels?
may be this is a sizzle question but please help
void Temp1::caller()
{
char *cc=Called();
printf("sdfasfasfas");
printf("%s",cc);
}
char *Temp1::Called()
{
char a[6]="Hello";
return &a;
}
Here how to print Hello using printf("%s",cc);
Which naming convention for conversions is standard across most languages?
convert_from_typea_to_typeb($arg)
or
convert_to_typeb_from_typea($arg)
Or is there another standard?
I am fetching the in app purchase items for my app from my web server.the web-server gives the product title, description and price...
Currently i am displaying the each product using the product title,description and price.Currently i am showing the currency in $.
Now i am having the doubt that , can i display the prices as such?when i referred some URL, it seems that prices needs to be localized.
So do i need to display the prices localized which is fetched from my-server? please let me know how should i proceed?
Thanks a lot for stopping by..