It may refer to Text formatting, Content format, File format, Document file format, etc.
0
votes
2answers
14 views
Convert second to day hour min second format
I got working times type is second.How can I convert 6010 second to 0 day ,0 hour ,10 min ,10 second in php?
0
votes
0answers
8 views
can't echoing tag html with base64 decoding , not appear the content
I want to echo tag html with base64 decoding , it is not appearing in the content. I have encoded html page which is stored in database with base64, when I decode this to html format , the content is ...
0
votes
1answer
15 views
Simple form format a time field to show '21:30' instead of entire UTC time string
My rails _form code:
<%= simple_form_for @admin_event, :html => { :class => 'main-form' } do |f| %>
<%= f.input :time_of_event, :format => l(:time_of_event, '%d %b. %Y'), :as ...
0
votes
1answer
12 views
exhibit timeline date format
I have an exhibit timeline, my data is in format "2013-12-15T07:39:19.000-04:00" and I'd like to control how the date is displayed. Right now, it displays only day and month by default but I'd like it ...
1
vote
3answers
39 views
How to create nested arrays? Javascript
I've been looking all over stackoverflow for something to help me implement an AreaChart. The problem is that I have something like this.
var items = new Array();
if ($(result).find('dato').length ...
-4
votes
1answer
27 views
limit a number length in a string [closed]
I want to limit length of whole number and decimal numbers, but use a string format or anything else apart of long coding.
So max whole number should be 15 and max decimal 3.
In example max what user ...
0
votes
0answers
17 views
Best practices in uploading photos on a personal website
What are the recommendable practices when it comes to putting images on a personal website? I am considering making a website that will display images with an estimated average size of 2MB. Is it ...
-1
votes
0answers
27 views
How can I get the border to wrap around overflowing content?
I cannot figure out for the life of me how to get this border to wrap around this overflowing content. The reason the content is overflowing is because I later plan to hide it and adjust which content ...
0
votes
2answers
29 views
string interpolation java 1.3 and below(if possible)?
I have a simple string, where I need to insert a few numbers and strings.
Say String a = "My name is %s. I am %d years old".
I also need to insert same number or string at several of these holes.
I ...
1
vote
7answers
44 views
How to convert 00:03:30 in 3m30s
I search for my problem on php.net and on stackoverflow and I did'nt find a good answer to solve my problem, so I decide to ask it !
I have a number of secs :
210
I transform it to 00:03:30 :
...
0
votes
1answer
23 views
Sql query for CONVERT datetime to a different datetime Format in SQL 2005?
My datetime column is in MM/dd/yyy format. i want this to be converted in dd/MM/yyyy, I am able to converting this datetime to narchar.
select convert(nvarchar,columnname,103) from dbo.table
i m ...
0
votes
2answers
24 views
handling number format and precision exceptions in jsp
the following is the code for adding a new fund wher min_holdings and nav are int values wheres all other are varchar and text fields.. While entering those fields i wanna make sure that correct ...
0
votes
1answer
26 views
ASP.NET Excel formatting and export
I've attached a pic below for better understanding of what format I want for my excel. I got no idea how to start to format excel using ASP.NET at all. Please do guide me. Thanks in advance.
0
votes
1answer
37 views
Ruby scope and guidlines. Which is better and why? [closed]
I had a question about scope in Ruby. I am going to paste two versions of the same script, both work but one introduces variables that work into a class above the class and the other introduces them ...
0
votes
0answers
52 views
Using a String to insert Formatted date
I am using a calendar example from http://droidwalk.blogspot.co.uk/2012/11/android-calendar-sample.html
This Calendar allows you to insert a reminder icon like so
items.add("2012-06-09");
This is ...
0
votes
2answers
45 views
Format string confusing
Hi im new to Python and Ive been trying to get format print to work but, and this may be me being new, but it seems to be very badly implemented.Any examples for 2.7.6 dont work for the new version ...
0
votes
2answers
40 views
What is this object notation format?
I'm working on manipulating data from a program, and I came across this data format, but I can't figure out how to parse it.
response="0",num=3,list=[
{type="url1",url="http://www.xxx1.com"},
...
0
votes
1answer
24 views
PHP DATE_FORMAT issue
I've been trying to figure this out for a while now. This is the code in a nutshell:
$query = "SELECT player, SUM(points), SUM(wins), MIN(date) FROM pointentry GROUP BY player ORDER BY SUM(points) ...
0
votes
3answers
30 views
PHP: Update a date value?
What is the easiest way to update a date?
In my database I have a field called mydate that is setup as a timestamp datatype. (It as to be this datatype).
My dates are listed as either:
2013-07-25 ...
0
votes
1answer
8 views
change style of selected text in tinymce editor (not blue background highlight)
How can I set the background of the user-selected/highlighted text in a TinyMCE editor? I don't want the default selection style of a blue background and white foreground. How can I change it? These ...
0
votes
0answers
5 views
Is it possible to break `case xx : {` into two line with AStyle?
I need to format following code
switch(i) {
case 1: {
printf("a");
break;
}
into:
switch(i) {
case 1:
{
printf("a");
...
0
votes
1answer
24 views
Anyone knows how to convert a cv::Mat into a NSString?
I am using OpenCV in a iPhone project. In this application, I receive a 3x3 matrix from the Opencv function an need to transform it into a NSString. For example:
cv::Mat myMatrix = ...
0
votes
1answer
33 views
Excel 2007: conditional formatting for certain cells?
What I need to do is conditionally format the below cells to highlight the lowest value.
B2, H2, G2, M2, R2, W2, AB2, AG2, AL2
But I need to do this about 50 times, and again for another set but ...
1
vote
3answers
35 views
python print in format way unknow list length
If I have a 6 length list like this:
l = ["AA","BB","CC","DD"]
I can print it with:
print "%-2s %-2s %-2s %-2s" % tuple(l)
The output will be:
AA BB CC DD
But what if the list l could be in any ...
0
votes
1answer
15 views
What fomrat is the smallest in size for black white pictures (no gray)?
I am looking for a format a method (tool?) which could be used for picture compression, so that the size for black and white (no grey) picture is as small as possible.
0
votes
1answer
16 views
How to convert an ECDSA key from hex to PEM format
I have a hex string that allegedly contains an EC public key. I need to convert this hex string to PEM format ("key.pem" in following example) in order to investigate the contents which I plan to do ...
0
votes
0answers
37 views
AS3 - Changing text color inside a sprite, then publish it
I have a sprite-container with some formatted text in it. I know that I can change its color via TextFormat, but a container is quite handy since I put many text fields in it, and I can change their ...
0
votes
1answer
35 views
How to format date from oracle database using hibernate
I know this is a very common question but i can't find any answer useful for me.
I'm working in a spring application using hibernate and getting data from an oracle database.
When i insert data into ...
0
votes
1answer
19 views
Remove space after text string in a cell - excel
Ive pasted a large list of data into column A in a excel sheet, all the data has come in with a space after the text ie. 'text ', 'some more text '..
I need to clear away this last space, as an ...
3
votes
2answers
56 views
Get one letter abbreviation of week day of a date in java
As far I know, in Java I can get weekdays in normal (Friday) or short mode (Fri). But, there is any way to obtain only first letter?
I thought I can get first letter using "substring", but it won't ...
0
votes
2answers
39 views
php relative date : last first day of september
I have theater shows dates in several cultural seasons.
A cultural season is from the first day of September to the last day of August.
Using PHP, I need to know the year of the "last first day of ...
0
votes
1answer
34 views
Return true when chunk is used iTextSharp
I'm trying to bold my font by using chunk. But the special thing is that my label is written under the addcell within a datareader.
This is how i attempt to format my label within my datareader
...
0
votes
1answer
29 views
How do I read formatted data with comments in Fortran?
I've got some time-domain data in a file I need to read with Fortran that looks like repetitions of this:
0.0000E+000
2 % number of particles
4 % number of values
0.00000E+000
...
0
votes
0answers
18 views
How to convert xml to sql server table format
select
[varIdentificacion],
xmlArchivo.value('(/CIFIN/Tercero/CuentasVigentes/Obligacion[1]/TipoContrato/node())[1]',
'nvarchar(20)') AS RespuestaConsulta
FROM
...
0
votes
0answers
14 views
how do I write the char `? [closed]
I can not find the ` char in my keybord, I am always copy this char from the window "How to Format", but I believe there is a way to type it directly from the keyboard.
1
vote
1answer
41 views
'exact' numerical value after numerical optimization MATLAB
I'm having the following issue with my code. I've been trying to use some other posts that I found on line, like this one. But they didn't what I'm looking for.
My code uses a MATLAB Exchange ...
0
votes
1answer
21 views
Add (media) files to a file of custom format in C++
I made a game in C++, however I've noticed that most video games add all the media files they use (sprite sheets, XML tables, mp3) inside a file of custom format to avoid being tampered.
I don't want ...
1
vote
2answers
39 views
Java Validating Date entry
I want to know is there a way to check the Java Date format to makes sure that a user doesn't enter a date like 56-13-2013 where the format is dd-MM-yyyy.
Currently when I enter a date with 13 months ...
0
votes
0answers
16 views
xsl for spip conversion to wordpress
I went into converting Spip (cms) database into wordpress'.
I'm using a existing xsl model which doesnt implement the function i'm trying to code.
Under Spip the code i want to convert is the ...
0
votes
1answer
26 views
Converting data in SSIS from flat file
I'm trying to import an important number of columns (around 100) from a flat file to a database using SSIS 2008.
My issue is that the data read is in bad format (for dates (format "yyyyMMdd") and ...
0
votes
2answers
23 views
How to change format of long text in cell?
How can one change the text from displaying like abcdefghijklmnopqrstuvwxyz in a cell to :
abc
def
ghi
...?
I can either hide some of the text (abcdef...) or make it appear as a verry ugly long cell.
...
0
votes
0answers
15 views
Computer memory values with subscripts
I've tried looking this up everywhere, but can't find an answer. I'm reading thru some material related to bits and values. Everytime a value is mentioned, I see that it has a subscripts number next ...
0
votes
1answer
18 views
Customizing the format of my AutoComplete Drop Down
I am developing the Android version of an app and I am trying to replicate the design shown in this picture.
...
0
votes
0answers
20 views
Format for representing GIS data
Is there open data format for representing such GIS data as roads, localities, sublocalities, countries, buildings, etc.
I expect that format would define address structure and names for components ...
1
vote
6answers
50 views
PHP - how to format font style and color in echo
I have a small snippet of code that I want to style from echo.
foreach($months as $key => $month){
if(strpos($filename,$month)!==false){
echo '<style = "font-color: #ff0000"> Movie ...
0
votes
1answer
21 views
KendoUI nummerictextbox format currency Euro not working
I use the KendoUI nummeric control like this:
@(Html.Kendo().NumericTextBoxFor(o => o.Price)
.Culture("nl-NL")
.Format("c")
.Decimals(0)
...
0
votes
2answers
56 views
Reading integer from file end with ``Missing format for FORMATTED data transfer done``
I'm updating a Fortran program for my needs. The program compiles using f95 and gcc version 4.1.2 (I know it is old, but I can't update it). I want to read parameters from a file and I try this via
...
0
votes
0answers
40 views
How to move section entry from elf?
ELF format:
0x00 ~ 0x33 is file header
section headers and segment headers must be consecutive
And section entry can store in any position, specify by offset
So I want to move a section ...
0
votes
2answers
32 views
PHP Date Format Confusion
I have this date in my database 11/06/2013 12:00
This is my code and the format I would like it in
$dateformatstart = date_format(date_create($row['datestart']), 'D j M y H:i');
Although it comes ...
2
votes
2answers
46 views
Formatting Layout in Java using Eclipse
I'm trying to create an Android app whose home screen has three buttons. I'm using the program Eclipse and it automatically gives the buttons a horizontal linear layout. I'd like a vertical linear ...