Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: date-time into seconds

by dwm042 (Priest)
on Dec 11, 2009 at 20:56 UTC ( #812438=note: print w/replies, xml ) Need Help??

in reply to date-time into seconds


The format issue goes away when you recognize that "2009-03-05 18:59:11" is a stock format that can be easily converted. The additional 0.674653 is simply a fraction of a second that can be added to an epoch date. That's at the heart of Limbic~Region's approach and every other good approach will be using some variant of this idea.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://812438]
[LanX]: nope
[LanX]: /.*(?:ß|ss).*/
[hippo]: How are you doing the match? Regex, index, eq or something else?
[choroba]: fc $s1 eq fc $s2 I guess
[Tanktalus]: hippo: I don't care, I just want to prove it can match correctly compared to, say, ILIKE / UPPER / LOWER in postgres :)
[LanX]: is there a unicode convention that ß is ss ?
[Tanktalus]: LanX: yes :) I haven't tried java, but I have this match working in its bastard cousin, C# :) I just thought perl's unicode support would get me there :)
[LanX]: I have my doubts, IMHO its a workaround if the glyph is missing
[LanX]: (they are pronounced differently)
[choroba]: perl -Mutf8 -Mfeature=fc -wE 'say fc "straße" eq fc "strasse"'

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2018-03-21 15:42 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (268 votes). Check out past polls.