Newsgroup: it.comp.programmare.win32
Titolo: convertire system time in stringa

Salve
con "GetSystemTime" ottengo il tempo di sistema,  ma per ottenere una
stringa del tipo
January 15, 2008 4:15:18.182 PM
devo formattarmela da solo  o c'č qualche funzione?
Grazie.

 devo formattarmela da solo  o c'è qualche funzione?
auto risposta:   strftime, ma non ha i millisecondi, vabbè poco male.

On Wed, 16 Jan 2008 14:06:26 +0100, software_engineer
<ov77N...@NOSPAMlibero.it> wrote:
CTime:.GetCUrrentTime();
Poi formatti come ti pare.

Filippo la questione posta da fabuloso era
se doveva formattarsela da solo o se c'era qualche
funzione ....
Se vuole, come dicevo, c'è una funzione.
:-)
saluti.
Filippo ha scritto:


said she was supported by Tai-Ku; the fifth defendant declared she
    knew nothing of the buying and selling of girls; and the sixth
    defendant claimed she had gone to the house to obtain the payment
    of a debt; she was discharged.
    The sentence was:--First, second, third, fourth and fifth
    defendants to find two securities, householders, in $500 each,
    to appear at any time within the next six months, to answer any
    charge in any court in the Colony.
    Whether the girls were sent to California to swell the number of
    wretched slaves on the Pacific Coast, or remained in slavery in
    Hong Kong, there is no record to be found; nor, even with abundant
    evidence concerning this licensed brothel which the Inspector
    himself declared he was long familiar with as a place "where young
    girls were kept to be shipped off to California," and with the
    evident collusion between A-Neung and Tai-Ku with the son-in-law
    and husband respectively of the two women, situated most favorably
    on a steamer for managing this wicked business at the California
    end of the line, and with all the testimony of the neighbors and
    the girls, yet no effort was made by the Registrar-General to
    punish these people for trafficking in human flesh.
    5. An old man complained before the Registrar-General, that his
    granddaughter, A-Ho, had got into debt because of sickness, and in
    order to pay the money, she was induced by an uncle of Su-a-Kiu to
    apply to the latter for help. Su-a-Kiu promised to advance her the
    money, $52, if A-Ho would serve her eight months in a brothel kept
    by a "friend" of the woman in Singapore. A-Ho's stress was so
    great that she entered into these hard terms, the woman paying her
    $52 at the steamer, as it was going, and A-Ho handed it to her
    grandfather to pay her debt. A-Ho left on the "26th of the

our search for her newest and most valuable slave. A
    room was at length discovered in which we felt sure the treasure
    was hidden. Again Sergeant Ross had to force open a door. As it
    gave way, a small, dimly-lighted room opened before us. In the
    center cowered a Chinese girl. It needed not a second look to
    recognize in the frightened, anxious face before me Kum Ping of
    the steamer. Our talisman had worked its charm. She had proved
    to the depths the terrible truth of our warning, and now gladly
    entrusted herself to our care, while her almost frantic owner
    stormed, threatened and at last laid violent hands on the officer
    who was helping us. As we led the trembling Kum Ping out, a
    greatly excited crowd of chattering Chinese met us at the end of
    the passage at Spofford alley, and the news passed from lip to
    lip, "The Mission people have taken Woon Ha's new slave girl!" We
    would be glad to end the story of our little friend's troubles and
    safe escape with her arrival at last in the Mission Home that day.
    But how few rescues ever do end in that peaceful and pleasant way!
    There followed the usual train of lawyers and warrants. To avoid
    these unpleasant experiences, Kum Ping had to cha

They were powdered heavily, had flowers and
    ornaments in their hair, the upper part of the forehead made bare,
    and the hair dressed elaborately, like married women (even the
    very youngest children); of course they were not married, for they
    were declared to be the property of the brothel-keepers, and this
    manner of dress must, therefore, have been an advertisement of
    their shame.
    "A curious musical instrument was brought--somewhat like a
    dulcimer--on which two of the girls played in succession, singing
    in a high, monotonous way.
    "From here we went to the first place visited the night previous,
    on the opposite corner of the same block. There was quite an
    excitement here when we came in. Two men and two girls were
    playing on native instruments--one of the men on a sort of fiddle,
    and the other on a rude guitar; the girls, one striking, in sharp
    staccato fashion, a wooden perforated bowl inverted on a standard
    or post, and the other a kind of cymbal; they were singing in the
    same shrill, monotonous way we had heard before. We counted eight
    girls here. There was a piece of unpainted tin or zinc, about
    eight by twelve inches, set upon the table toward one end, with
    a list of fifty names on it, and a Chinese man, who talked fair
    English, explained it thus: 'These are the names of singing and
    dancing girls who come here; a man looks over the list and calls
    for a girl to sing or dance; then he chooses his girl.'
    "We then went to a third place on the same side of the street.
    Here there was a wild confusion as we reached the top of the
    second fligh

Io intendevo che una volta che hai una varibaile CTime 
ci sono membri della classe CTime che sono moto facili da usare per
fomrattare la stringa come ti pare.
Vedi CTime-> Members in MSDN.
