convert

How to convert yyyy-MM-dd HH:mm:ss to "15th Apr 2010" using PHP

Hi, I have the following date format: 2010-04-15 23:59:59 How would I go about converting this into: 15th Apr 2010 Thanks ...

UIDatePicker Component value

I have a UIDatePicker that shows (ex. April | 13 | 2010). I need to get each component value and set it as an integer so it can be put into three separate keys in a Plist. MyMonth Number 04 MyDay Number 13 MyYear Number 2010 I can set a text label by using: NSDateFormatter *df = [[NSDateFormatter alloc] init]; df.dateStyle =...

Port iPhone application to Android

What is the most efficient way to port an iPhone app to Android? I know Apple doesn't like 3rd-party, non-Objective C platforms generating code for their platform ... but is there something out there that can take an iPhone app and convert it to Android friendly code? If not, how have folks out there been creating Android versions of t...

How to read pdf, ppt, xl, doc files content into a string in php/python

Pls suggest me any inbuilt command or package? ...

.net byte[] to List<List<Point>>

Is is possible to convert a byte array back to a List<List<Point>> ? LE: I am saving the List<List<Point>> in a database BLOB field. When I retrieve it, I want to convert it back to a List<List<Point>>. The data is kept into an SQLite database and gets set with: ... cmd.Parameters.AddWithValue("@bynaryData", theList); ... So I have...

Convert an Image object To FormFile object

It's possible to convert an Image object To FormFile object ..? ...

String to array or Array to string tips on formats, etc

hi, first of all thanks for taking your time! I'm a junior Dev, working with PHP + mysql. My issue: I'm saving data from a form to my database. From this form, there's only need to save the contacts: Name, phone number, address. But, it would be nice to have a small reference to the user answers. Let's say for each question we've go...

Simple LinQ question: convert [][] to []

Hello, I would like to get collection or list of Item objects, but I get array of arrays now. Item[][] s = employees.Select(e => e.Orders.Select(o => new Item(e.ID, o.ID)).ToArray()).ToArray(); Can anyone select me solution to do it? P.S. just LinQ solution :) ...

Convert Word 2007 Document to Word 2003 Programmatically in ASP.NET

Does anyone know of any component or library (preferably open source) that would allow me to convert Word 2007 documents to Word 2003 with ASP.NET? ...

How can I convert a bunch of files from ISO-8859-1 to UTF-8 using Perl?

I have several documents I need to convert from ISO-8859-1 to UTF-8 (without the BOM of course). This is the issue though. I have so many of these documents (it is actually a mix of documents, some UTF-8 and some ISO-8859-1) that I need an automated way of converting them. Unfortunately I only have ActivePerl installed and don't know muc...

how do you convert a directoryInfo file to string

Problem is that i cant convert to string Dim path As String = "..\..\..\Tier1 downloads\CourseVB\" If countNumberOfFolders > 0 Then 'if there is a folder then ' make a reference to a directory Dim di As New IO.DirectoryInfo(path) Dim diar1 As IO.DirectoryInfo() = di.GetDirectories() Dim dra As IO.DirectoryInfo '...

Convert Video To MP3 in php?

Hey, I'm just wondering if it would be possible to convert videos to mp3 files in php, if so, could someone point me in the right direction? ...

How to convert Word to images with win32com in python?

Hi all, I have googled an example for converting Word to Html. import win32com from win32com.client import Dispatch, constants w = win32com.client.Dispatch('Word.Application') w = win32com.client.DispatchEx('Word.Application') '''skip some code here''' wc = win32com.client.constants w.ActiveDocument.SaveAs( FileName = filenameou...

Convert this PHP code to C# Rijndael Algorithm

I've got this php code and I'd like to get the exact equivalent C# $ivSize = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_192, MCRYPT_MODE_CBC); $iv = mcrypt_create_iv($ivSize, MCRYPT_RAND); $encryptedData = mcrypt_encrypt(MCRYPT_RIJNDAEL_192, $key, $salt . $message . $nonce, MCRYPT_MODE_CBC, $iv); $base64Data = base64_encode($salt . $iv . $encry...

Converting binary to hexadecimal??

Hey guys, Just wondering on how I would go about converting binary to hexadecimal?? Would I first have to convert the binary to decimal and then to hexadecimal?? For example, 101101001.101110101010011 How would I go about converting a complex binary such as the above to hexadecimal? Thanks in advance ...

Is anyway to make the php projects in exe format?

It is possible to make the php projects in exe format (i.e like vb project exe format) ? Please help me, thanks in advance ...

Failed to convert parameter value from a Guid to a String

Hello, I am at the end of my knowledge and googled for the answer too but no luck :/ Week ago everything worked well. I did a revert on the repository, recreated the tableadapter etc... nothing helped. When I try to save in my application I get an SystemInvalidCastException at this point: PersonListDataSet.cs: partial class P_Group...

Parse int to string with stringstream

Well! I feel really stupid for this question, and I wholly don't mind if I get downvoted for this, but I guess I wouldn't be posting this if I had not at least made an earnest attempt at looking for the solution. I'm currently working on Euler Problem 4, finding the largest palindromic number of two three-digit numbers [100..999]. As...

Problem with using APACHE-POI to convert PPT to Image

Hi all, I got a problem when I try to use Apache POI project to convert my PPT to Images.My code as follows: FileInputStream is = new FileInputStream("test.ppt"); SlideShow ppt = new SlideShow(is); is.close(); Dimension pgsize = ppt.getPageSize(); Slide[] slide = ppt.getSlides(); for (int i = 0; i < slide.length; i++) { Buffered...

Convert int to datetime

how can i convert a field contain data 733803 as into be datetime on sql server? ...