This will be helpful.
reading is your flow meter value in L/Hour
float reading;//value of the flow meter
long startTime;
void setup() {
Serial.begin(9600);
startTime=millis();
}
void loop() {
Serial.println(reading*float((millis()-startTime))/3600000.0);
}